Title: Support __path__ in packages · Issue #1422 · python/mypy · GitHub
Open Graph Title: Support __path__ in packages · Issue #1422 · python/mypy
X Title: Support __path__ in packages · Issue #1422 · python/mypy
Description: The name __path__ is defined in packages but mypy doesn't recognize it. It seems that every __init__.py[i] file should have an implicit __path__ attribute with type List[str]. (I encountered some code that uses __path__ -- I didn't know ...
Open Graph Description: The name __path__ is defined in packages but mypy doesn't recognize it. It seems that every __init__.py[i] file should have an implicit __path__ attribute with type List[str]. (I encountered some c...
X Description: The name __path__ is defined in packages but mypy doesn't recognize it. It seems that every __init__.py[i] file should have an implicit __path__ attribute with type List[str]. (I encountered so...
Opengraph URL: https://github.com/python/mypy/issues/1422
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support __path__ in packages","articleBody":"The name `__path__` is defined in packages but mypy doesn't recognize it. It seems that every `__init__.py[i]` file should have an implicit `__path__` attribute with type `List[str]`. (I encountered some code that uses `__path__` -- I didn't know about it until today.)\n\nSee also: https://docs.python.org/2/tutorial/modules.html#packages-in-multiple-directories\n","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2016-04-22T10:54:30Z","url":"https://github.com/python/mypy/issues/1422"}
| 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:3d596f7d-c354-85c7-4be9-21f7e07dde65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8692:3AE712:E33D39:1312EDD:6B00580B |
| html-safe-nonce | 5cc62335a88e08c8801fe2ca6bb9b44fc95ba7632f9909ed1199da22408ccd6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjkyOjNBRTcxMjpFMzNEMzk6MTMxMkVERDo2QjAwNTgwQiIsInZpc2l0b3JfaWQiOiI2MTY1NzM0MTA5OTQ4Njk2NTg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8bc02103f9922805554d254d8e9253bae48f7885c10c07424901c947345b4a93 |
| hovercard-subject-tag | issue:150337733 |
| 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/1422/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f3253619684b6ef6401ba8a368ad68a426e1ed0ebef89f086aadda68a6516b3a/python/mypy/issues/1422 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f3253619684b6ef6401ba8a368ad68a426e1ed0ebef89f086aadda68a6516b3a/python/mypy/issues/1422 |
| og:image:alt | The name __path__ is defined in packages but mypy doesn't recognize it. It seems that every __init__.py[i] file should have an implicit __path__ attribute with type List[str]. (I encountered some c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| 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 | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width