You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-11-27.18:28:42.046>created_at=<Date2018-05-19.22:00:07.250>labels= ['docs']
title='Document "optional components that are commonly included in Python distributions."'updated_at=<Date2021-11-27.19:07:44.524>user='https://github.com/anntzer'
The stdlib docs intro include the following sentences:
It also describes some of the optional components that are commonly included in Python distributions.
For Unix-like operating systems Python is normally provided as a collection of packages, so it may be necessary to use the packaging tools provided with the operating system to obtain some or all of the optional components.
However, as far as I can tell, there is no easy way to actually know what parts of the stdlib are "optional". The _thread module's doc does state "The module is optional.", and the threading module's doc also implies that it is optional ("The dummy_threading module is provided for situations where threading cannot be used because _thread is missing.") (yes, I know support for threadless builds is going away in 3.7; that's irrelevant here.), but even ensurepip's docs don't state that it may be missing (even though I believe(?) that it is indeed removed (and intended to be so) from some linux distribution's Pythons).
A master list of "optional" features would thus be welcome. Its usefulness is to know what parts of the stdlib we can actually rely on; e.g. in matplotlib/matplotlib#10866 a Matplotlib user noted that bz2 is not present in all Python installs.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: