-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
argparse: usage text of arguments in mutually exclusive groups no longer wraps in Python 3.13 #121151
Comments
serhiy-storchaka
added
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
labels
Jun 29, 2024
encukou
pushed a commit
that referenced
this issue
Aug 7, 2024
…ide a mutually exclusive groups (GH-121159)
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 7, 2024
…ts inside a mutually exclusive groups (pythonGH-121159) (cherry picked from commit 013a092) Co-authored-by: Ali Hamdan <ali.hamdan.dev@gmail.com>
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
…ts inside a mutually exclusive groups (pythonGH-121159)
Looks like this issue should have been closed with the merging of the above PRs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
Prior to Python 3.13, long usage text of arguments in mutually exclusive groups would wrap to multiple lines. This is no longer the case in Python 3.13:
Python 3.12 output:
Python 3.13 output:
This is a regression I introduced in #105039. I am working on a fix for this.
/cc @encukou (sorry for the regression!)
CPython versions tested on:
3.12, 3.13
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: