-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
gh-139707: Add docs for optional modules #140171
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
base: main
Are you sure you want to change the base?
Conversation
... And add Stan as contributor: Co-authored-by: Stan Ulbrych <[email protected]>
An extension module that is part of the :term:`standard library`, but | ||
may be missing in some builds of CPython, usually due to missing | ||
third-party libraries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An extension module that is part of the :term:`standard library`, but | |
may be missing in some builds of CPython, usually due to missing | |
third-party libraries. | |
An :term:`extension module` that is part of the :term:`standard library`, | |
but may be absent in some builds of CPython, usually due to missing | |
third-party libraries. |
Two suggestions:
- Link to the glossary term.
- "absent" rather than "missing"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to link the CPython term too?
|
Requirements for Optional Modules | ||
--------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use sentence case for headers:
https://devguide.python.org/documentation/style-guide/#capitalization
Requirements for Optional Modules | |
--------------------------------- | |
Requirements for optional modules | |
--------------------------------- |
|
||
.. versionchanged:: 3.7 | ||
Thread support and OpenSSL 1.0.2 are now required. | ||
OpenSSL 1.0.2 are now required for :mod:`hashlib`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenSSL 1.0.2 are now required for :mod:`hashlib`. | |
OpenSSL 1.0.2 is now required for :mod:`hashlib`. |
|
||
For applications that require data compression, the functions in this module | ||
allow compression and decompression, using the zlib library. The zlib library | ||
has its own home page at https://www.zlib.net. zlib 1.2.2.1 is the minium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not keeping the homepage link?
- 1.4.5 | ||
- :mod:`compression.zstd` | ||
|
||
.. [1] If *libmpdec* is not available, CPython will use a bundled copy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That changed in Python 3.15: https://docs.python.org/dev/whatsnew/3.15.html#build-changes
📚 Documentation preview 📚: https://cpython-previews--140171.org.readthedocs.build/