-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-42955: Remove sub-packages from sys.stdlib_module_names #24353
Conversation
This is unrelated to my PR, |
@gaborbernat @warsaw @gpshead: What do you think of this change? |
To me, this makes sense. The use case we've had at work for an official list of what modules are in the standard library has been in code health tooling. Sorting stdlib imports before others, etc. Only the top level package names are important there. |
Merged, thanks @gpshead. Well, I wasn't fully comfortable with the half-baken trade-off: include sub-packages but not sub-modules. IMO the new API is now more consistent: only list main packages. |
|
https://bugs.python.org/issue42955