-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
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 <89152624+StanFromIreland@users.noreply.github.com>
|
|
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
| you will need several third-party libraries installed for development | ||
| (for example, header files must be available). | ||
|
|
||
| Missing requirements are generally given in ``configure`` output. |
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.
| Missing requirements are generally given in ``configure`` output. | |
| Missing requirements are generally given in the ``configure`` output. |
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.
The original sounds better to me here -- I see configure spewing a mass of lines, rather than a report ;)
| (for example, header files must be available). | ||
|
|
||
| Missing requirements are generally given in ``configure`` output. | ||
| Missing optional modules are listed near the end of ``make`` output, |
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.
| Missing optional modules are listed near the end of ``make`` output, | |
| Missing optional modules are listed near the end of the ``make`` output, |
| optional module | ||
| An :term:`extension module` that is part of the :term:`standard library`, | ||
| but may be absent in some builds of :term:`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.
| usually due to missing third-party libraries. | |
| usually due to missing third-party libraries or platform limitations. |
I would suggest noting platform too, e.g. the case of winreg, winsound etc.
An expanded suggestion:
| usually due to missing third-party libraries. | |
| usually due to missing third-party libraries or because the | |
| module is not supported on a given platform. |
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.
Hmm, should platform-specific modules be considered “optional”?
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.
... Well, I guess they should. I'll add notes in a few more places when I next get around to this.
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
📚 Documentation preview 📚: https://cpython-previews--140171.org.readthedocs.build/