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. |
64fc105
into
python:master
|
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