Title: Spec for sys.meta_path too strict · Issue #2468 · python/typeshed · GitHub
Open Graph Title: Spec for sys.meta_path too strict · Issue #2468 · python/typeshed
X Title: Spec for sys.meta_path too strict · Issue #2468 · python/typeshed
Description: In this comment, we learned that typeshed is too constrained on its spec for sys.meta_path, expecting instances of MetaPathFinder, whereas the existing values are of Type[MetaPathFinder], but more importantly, the objects there need not ...
Open Graph Description: In this comment, we learned that typeshed is too constrained on its spec for sys.meta_path, expecting instances of MetaPathFinder, whereas the existing values are of Type[MetaPathFinder], but more ...
X Description: In this comment, we learned that typeshed is too constrained on its spec for sys.meta_path, expecting instances of MetaPathFinder, whereas the existing values are of Type[MetaPathFinder], but more ...
Opengraph URL: https://github.com/python/typeshed/issues/2468
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Spec for sys.meta_path too strict","articleBody":"In [this comment](https://github.com/python/mypy/issues/5589#issuecomment-419608778), we learned that typeshed is too constrained on its spec for `sys.meta_path`, expecting instances of MetaPathFinder, whereas the existing values are of `Type[MetaPathFinder]`, but more importantly, the objects there need not be instances of any particular class, but must conform to a protocol (having a `.find_spec()` or `.find_module()` on Python 3 and having a `.find_module()` on Python 2).","author":{"url":"https://github.com/jaraco","@type":"Person","name":"jaraco"},"datePublished":"2018-09-19T16:51:14Z","url":"https://github.com/python/typeshed/issues/2468"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef3e4e84-bd0d-2b30-c33c-3e3e0153c2d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9444:19114D:370DE:47387:6B00B7C8 |
| html-safe-nonce | a7b4a62109fb1f2fa18cbc93fcb4023ddd005e460e6d7b0b5556dd836063031e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDQ0OjE5MTE0RDozNzBERTo0NzM4Nzo2QjAwQjdDOCIsInZpc2l0b3JfaWQiOiIyNjQ5NDg5MjQ5OTQxODk1MTEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6a031b2342bf4ff819f2c46adf41b571eedfd8f3a0d3f1d386ab0d5eb63b6d6c |
| hovercard-subject-tag | issue:361837203 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typeshed/2468/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7094aa8332bab6eaaf05b95b4d40e58bd661980da2fee4d0948296265675656d/python/typeshed/issues/2468 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7094aa8332bab6eaaf05b95b4d40e58bd661980da2fee4d0948296265675656d/python/typeshed/issues/2468 |
| og:image:alt | In this comment, we learned that typeshed is too constrained on its spec for sys.meta_path, expecting instances of MetaPathFinder, whereas the existing values are of Type[MetaPathFinder], but more ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jaraco |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width