Title: Distribute stdlib types as types-stdlib · Issue #5835 · python/typeshed · GitHub
Open Graph Title: Distribute stdlib types as types-stdlib · Issue #5835 · python/typeshed
X Title: Distribute stdlib types as types-stdlib · Issue #5835 · python/typeshed
Description: This has been briefly discussed before, but I think it would be a good idea if we started distributing the stdlib types in a separate package types-stdlib, similar to third-party packages: Type checkers could optionally depend on (a spec...
Open Graph Description: This has been briefly discussed before, but I think it would be a good idea if we started distributing the stdlib types in a separate package types-stdlib, similar to third-party packages: Type che...
X Description: This has been briefly discussed before, but I think it would be a good idea if we started distributing the stdlib types in a separate package types-stdlib, similar to third-party packages: Type che...
Opengraph URL: https://github.com/python/typeshed/issues/5835
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Distribute stdlib types as types-stdlib","articleBody":"This has been briefly discussed before, but I think it would be a good idea if we started distributing the stdlib types in a separate package `types-stdlib`, similar to third-party packages:\r\n\r\n* Type checkers could optionally depend on (a specific version of) that package, instead of shipping their own copy, reducing coupling and arguably improving maintainability.\r\n* Third-party stubs could require a minimum version of the `types-stdlib` package, for example if they are relying on `_typeshed` features or for cases like #5762. Type checkers that opt to distribute a copy of the stdlib, could warn if incompatible stubs are used.\r\n\r\nTechnical considerations:\r\n\r\n* The versioning scheme would be similar to third-party stubs, e.g. `types-stdlib 3.10.X`, where `X` is incremented automatically. We should probably increment the version number as soon as the first beta is released and we are reasonably sure we have added all new/changed API.\r\n* The stubs would be installed into a special directory, for example `stdlib`, or even a non-importable name like `types-stdlib` (so we'd have stubs `stdlib/sys.pyi` etc.) so that they are only used by type checkers that support this package and don't interfere.","author":{"url":"https://github.com/srittau","@type":"Person","name":"srittau"},"datePublished":"2021-08-02T07:59:27Z","url":"https://github.com/python/typeshed/issues/5835"}
| 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:fcae7c20-9fd3-b4e3-13d4-69bdc7c96753 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85C2:3022B5:2AE4D2:37A8AC:6AFFC63C |
| html-safe-nonce | ce344e9473ac7d26c9c44be7b7c47336e02c153c0b19caeb3d8fc415f5a2bffc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUMyOjMwMjJCNToyQUU0RDI6MzdBOEFDOjZBRkZDNjNDIiwidmlzaXRvcl9pZCI6IjgyMzY2MTc0MTQ2MzI5MTQ1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8be8fa5fb3870762ff56c6bc79536cd40363c3a85905d6d0344c5b5727e7b54d |
| hovercard-subject-tag | issue:957870607 |
| 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/5835/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e6082a63dcb2b04ad668e551db40cf5efc23830d47cbdc5752c7f861fddd4d4a/python/typeshed/issues/5835 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e6082a63dcb2b04ad668e551db40cf5efc23830d47cbdc5752c7f861fddd4d4a/python/typeshed/issues/5835 |
| og:image:alt | This has been briefly discussed before, but I think it would be a good idea if we started distributing the stdlib types in a separate package types-stdlib, similar to third-party packages: Type che... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | srittau |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1e805b832df235bb21305db712c3b6432920019dfc12cb25b9cb8d3b0c9403cf |
| 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 | 8fa4a54e6871c7908eda1c246ad5972982c0b59d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width