KEMBAR78
gh-139707: Add docs for optional modules by encukou · Pull Request #140171 · python/cpython · GitHub
Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented Oct 15, 2025

... And add Stan as contributor:

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@StanFromIreland
Copy link
Member

pre-commit install is handy :-)

encukou and others added 4 commits October 22, 2025 16:13
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Missing requirements are generally given in ``configure`` output.
Missing requirements are generally given in the ``configure`` output.

Copy link
Member Author

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,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:

Suggested change
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.

Copy link
Member Author

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”?

Copy link
Member Author

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.

encukou and others added 2 commits October 23, 2025 09:03
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

5 participants