Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.14] gh-133653: Fix argparse.ArgumentParser with the formatter_class argument (GH-133813)#133941

Merged
serhiy-storchaka merged 1 commit into
python:3.14python/cpython:3.14from
miss-islington:backport-734e15b-3.14miss-islington/cpython:backport-734e15b-3.14Copy head branch name to clipboard
May 12, 2025
Merged

[3.14] gh-133653: Fix argparse.ArgumentParser with the formatter_class argument (GH-133813)#133941
serhiy-storchaka merged 1 commit into
python:3.14python/cpython:3.14from
miss-islington:backport-734e15b-3.14miss-islington/cpython:backport-734e15b-3.14Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented May 12, 2025

Copy link
Copy Markdown
Contributor
  • Fix TypeError when formatter_class is a custom subclass of
    HelpFormatter.
  • Fix TypeError when formatter_class is not a subclass of
    HelpFormatter and non-standard prefix_char is used.
  • Fix support of colorizing when formatter_class is not a subclass of
    HelpFormatter.
  • Remove the prefix_chars parameter of HelpFormatter.
    (cherry picked from commit 734e15b)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

… argument (pythonGH-133813)

* Fix TypeError when formatter_class is a custom subclass of
  HelpFormatter.
* Fix TypeError when formatter_class is not a subclass of
  HelpFormatter and non-standard prefix_char is used.
* Fix support of colorizing when formatter_class is not a subclass of
  HelpFormatter.
* Remove the prefix_chars parameter of HelpFormatter.
(cherry picked from commit 734e15b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.