-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Update manpage environment variables and command line arguments #129623
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
Conversation
I was searching for an issue to use but unless you want to create one with the same text as in the PR, I think we can skip the issue. We could create an issue though if we want to communicate that the manpage documentation is now up-to-date but it might be unnecessary. |
Thanks for the update! How can I build and view the output of this PR? |
Otherwise |
Oh if you want the full build, I think you need to install entirely, including the docs though I don't remember which target it is. Then use man directly (maybe you need to change some search paths just to avoid getting the manpage of your system-wide python) |
Misc/python.man
Outdated
-X gil=[0|1]: enable (1) or disable (0) the GIL; also PYTHON_GIL | ||
Only available in builds configured with --disable-gil. |
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.
Noting this one is shown for python3.14t --help-all
and not python3.14 --help-all
, but the same applies to PYTHON_GIL
and we already have that in this file.
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.
Yeah, I think we have to include everything (or have multiple manpages).
(Updated from |
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.
Thank you!
This has some 3.13-only things, shall we only backport to 3.13? Or also 3.12? (I won't be surprised if there'll be conflicts anyway for 3.13.) |
I'm happy to review the lists again and prepare backports, if that helps. |
Thanks, I don't mind too much either way, let's see if the bot can do the backport for 3.13... |
…onGH-129623) (cherry picked from commit e1b38ea) Co-authored-by: Stefano Rivera <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
GH-130078 is a backport of this pull request to the 3.13 branch. |
It worked! |
GH-129623) (#130078) Co-authored-by: Stefano Rivera <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
This corrects a mistake I made, when sorting environment variables in pythonGH-129623.
We got a bug report in Debian for missing PYTHON_BASIC_REPL documentation
The manpage is a bit out of date from the Sphinx docs, when it comes to environment variables and
-X
command line options.Bring it back up to date.
I excluded windows-only options, as manpages are probably not relevant on that platform.