Skip to content

gh-130645: Add color to stdlib argparse CLIs #133380

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

Merged
merged 4 commits into from
May 5, 2025

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented May 4, 2025

@hugovk hugovk added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 4, 2025
@bedevere-bot

This comment was marked as outdated.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 4, 2025
@ZeroIntensity
Copy link
Member

Not exactly related to the PR, but not sure where else to ask: is there any plan to get _colorize into the stdlib publicly?

@hugovk
Copy link
Member Author

hugovk commented May 4, 2025

Maybe as part of the theming API in 3.15, see #133346.

@hugovk hugovk added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 4, 2025
@bedevere-bot

This comment was marked as outdated.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 4, 2025
@hugovk hugovk added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 5, 2025
@bedevere-bot

This comment was marked as outdated.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 5, 2025
Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

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

As a colorblind person I find this super awesome improvement 🖤

@ambv ambv merged commit 4ac916a into python:main May 5, 2025
45 checks passed
@hugovk hugovk deleted the 3.14-argparse-color branch May 5, 2025 17:47
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.

6 participants