Title: Names are re-exported from stubs · Issue #2927 · python/mypy · GitHub
Open Graph Title: Names are re-exported from stubs · Issue #2927 · python/mypy
X Title: Names are re-exported from stubs · Issue #2927 · python/mypy
Description: This code passes silently, but obviously fails at runtime: from collections import TypeVar from weakref import Generic from getopt import List T = TypeVar('T') class C(Generic[T], List[int]): ...
Open Graph Description: This code passes silently, but obviously fails at runtime: from collections import TypeVar from weakref import Generic from getopt import List T = TypeVar('T') class C(Generic[T], List[int]): ...
X Description: This code passes silently, but obviously fails at runtime: from collections import TypeVar from weakref import Generic from getopt import List T = TypeVar('T') class C(Generic[T], List[int]...
Opengraph URL: https://github.com/python/mypy/issues/2927
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Names are re-exported from stubs","articleBody":"This code passes silently, but obviously fails at runtime:\r\n```python\r\nfrom collections import TypeVar\r\nfrom weakref import Generic\r\nfrom getopt import List\r\n\r\nT = TypeVar('T')\r\n\r\nclass C(Generic[T], List[int]):\r\n ...\r\n```","author":{"url":"https://github.com/ilevkivskyi","@type":"Person","name":"ilevkivskyi"},"datePublished":"2017-03-01T09:07:49Z","url":"https://github.com/python/mypy/issues/2927"}
| 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:cd5cc5a5-92a1-a9de-4a5e-1b9ed1d4d437 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D50A:66B31:6C0EF:976B7:6B005135 |
| html-safe-nonce | bac62529019fc83c76a6bb0f6e9255239fcfa916e715044e606daa652a16c9c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTBBOjY2QjMxOjZDMEVGOjk3NkI3OjZCMDA1MTM1IiwidmlzaXRvcl9pZCI6Ijc4NDQ4MTUyMzAzMDY2MzYwODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1db48fdec7d7fa89148f4362fa1890346eb6748f128c1af79eb4705f73b17524 |
| hovercard-subject-tag | issue:211018953 |
| 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/mypy/2927/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c44b9fff83c761947e6c289bb9b84320df0e544af1d3cd13df286e49c32b72c/python/mypy/issues/2927 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c44b9fff83c761947e6c289bb9b84320df0e544af1d3cd13df286e49c32b72c/python/mypy/issues/2927 |
| og:image:alt | This code passes silently, but obviously fails at runtime: from collections import TypeVar from weakref import Generic from getopt import List T = TypeVar('T') class C(Generic[T], List[int]): ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilevkivskyi |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width