Skip to content

GH-148468: Accept string-like proxy objects in colorized argparse help - #154653

Open
savannahostrowski wants to merge 4 commits into
python:mainfrom
savannahostrowski:fix-gh-148468-lazy-help
Open

GH-148468: Accept string-like proxy objects in colorized argparse help#154653
savannahostrowski wants to merge 4 commits into
python:mainfrom
savannahostrowski:fix-gh-148468-lazy-help

Conversation

@savannahostrowski

@savannahostrowski savannahostrowski commented Jul 24, 2026

Copy link
Copy Markdown
Member

@savannahostrowski savannahostrowski added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 24, 2026
@savannahostrowski

Copy link
Copy Markdown
Member Author

@hugovk (since it's colour-related) @clytaemnestra Perhaps one or both of you have some cycles to review this one :) ?

@hugovk

hugovk commented Jul 29, 2026

Copy link
Copy Markdown
Member

I left a comment at #148468 (comment) that I can no longer repro the MRE with latest 3.15 and main.

Is this change still needed or useful?

@savannahostrowski

Copy link
Copy Markdown
Member Author

Yes, seems like it. #148468 (comment)

Comment thread Lib/test/test_argparse.py
Comment thread Lib/test/test_argparse.py
Comment thread Lib/argparse.py Outdated
Comment thread Lib/argparse.py Outdated
savannahostrowski and others added 2 commits July 29, 2026 19:52
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Savannah Ostrowski <savannah@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@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 needs backport to 3.15 pre-release feature fixes, bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants