Title: Show a more detailed error when __getattr__ in __init__.py has wrong signature · Issue #5276 · python/mypy · GitHub
Open Graph Title: Show a more detailed error when __getattr__ in __init__.py has wrong signature · Issue #5276 · python/mypy
X Title: Show a more detailed error when __getattr__ in __init__.py has wrong signature · Issue #5276 · python/mypy
Description: This is a follow-up for #5231 With #5231 the import of an arbitrary module from a package contains a __getattr__ that returns either Any or types.ModuleType. It would be good to add a better error message about a missing import if the er...
Open Graph Description: This is a follow-up for #5231 With #5231 the import of an arbitrary module from a package contains a __getattr__ that returns either Any or types.ModuleType. It would be good to add a better error ...
X Description: This is a follow-up for #5231 With #5231 the import of an arbitrary module from a package contains a __getattr__ that returns either Any or types.ModuleType. It would be good to add a better error ...
Opengraph URL: https://github.com/python/mypy/issues/5276
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Show a more detailed error when __getattr__ in __init__.py has wrong signature","articleBody":"This is a follow-up for https://github.com/python/mypy/pull/5231\r\n\r\nWith https://github.com/python/mypy/pull/5231 the import of an arbitrary module from a package contains a `__getattr__` that returns either `Any` or `types.ModuleType`. It would be good to add a better error message about a missing import if the error appears because of a wrong return type of `__getattr__`.","author":{"url":"https://github.com/ilevkivskyi","@type":"Person","name":"ilevkivskyi"},"datePublished":"2018-06-25T17:04:23Z","url":"https://github.com/python/mypy/issues/5276"}
| 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:a8c9eb1d-22c4-17e8-890a-eef392519243 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD2E:2E34EF:8184F:B4B12:6B00506B |
| html-safe-nonce | 7973f968ef832aee9ad441d1fc91cedbcf0e2fc0d1147c9c02cbeb4b213b7c08 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDJFOjJFMzRFRjo4MTg0RjpCNEIxMjo2QjAwNTA2QiIsInZpc2l0b3JfaWQiOiI0OTU4MjA2MTE2MjYyNTk2NzE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7e66debd595ac6a6f1ead6ce471836f59ad609e1ec91821b5267c5d8735a0be0 |
| hovercard-subject-tag | issue:335491622 |
| 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/5276/issue_layout |
| twitter:image | https://opengraph.githubassets.com/31aa370940c34754d22f27eb591cee0aa037ae0f832851be81e53872208dcf76/python/mypy/issues/5276 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/31aa370940c34754d22f27eb591cee0aa037ae0f832851be81e53872208dcf76/python/mypy/issues/5276 |
| og:image:alt | This is a follow-up for #5231 With #5231 the import of an arbitrary module from a package contains a __getattr__ that returns either Any or types.ModuleType. It would be good to add a better error ... |
| 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