GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GH-142389: Add backtick markup support in description and epilog by savannahostrowski · Pull Request #142390 · python/cpython

Conversation

@savannahostrowski

@savannahostrowski savannahostrowski commented Dec 7, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
image
  • Issue: Add support for colorizing code examples in argparse description/epilog #142389

📚 Documentation preview 📚: https://cpython-previews--142390.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@savannahostrowski
Add support for [cmd] colorization in argparse help text
a38087e
@savannahostrowski
savannahostrowski requested a review from hugovk December 7, 2025 22:11
@savannahostrowski
savannahostrowski requested a review from AA-Turner as a code owner December 7, 2025 22:11
@bedevere-app bedevere-app Bot added the awaiting core review label Dec 7, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Dec 7, 2025
Add support for colorizing code examples in argparse description/epilog #142389
Closed
blurb-it Bot and others added 3 commits December 7, 2025 22:13
@blurb-it
📜🤖 Added by blurb_it.
888294a
@savannahostrowski
Update whats new PR number
398a175
@savannahostrowski
Appease Sphinx
9422e89
@picnixz
picnixz dismissed a stale review December 7, 2025 23:12

spam review

@bedevere-app bedevere-app Bot added awaiting review and removed awaiting core review labels Dec 7, 2025
@savannahostrowski
Do not transform text if color=False
cb2163a
@savannahostrowski
savannahostrowski marked this pull request as draft December 8, 2025 16:42
@bedevere-app bedevere-app Bot removed the awaiting review label Dec 8, 2025
savannahostrowski added 2 commits December 12, 2025 10:10
@savannahostrowski
Merge main
40040ca
@savannahostrowski
Use backticks instead
3419312
@savannahostrowski savannahostrowski changed the title GH-142389: Add [cmd]...[/cmd] markup to colorize examples in argparse description/epilog GH-142389: Add backtick markup support in description and epilog Dec 12, 2025
@savannahostrowski
Fix blurb
682321f
@savannahostrowski
savannahostrowski marked this pull request as ready for review December 12, 2025 18:33
@bedevere-app bedevere-app Bot added the awaiting core review label Dec 12, 2025
hugovk
hugovk approved these changes Dec 12, 2025
View reviewed changes

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

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!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

savannahostrowski reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Dec 12, 2025
@savannahostrowski

savannahostrowski commented Dec 12, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Thanks for considering the options for implementing feature and for the feedback, @hugovk! Much appreciated!

hugovk reacted with rocket emoji
All reactions
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@savannahostrowski
Merge branch 'main' into argparse-help-color
7794219
@savannahostrowski
savannahostrowski enabled auto-merge (squash) December 12, 2025 19:41
@savannahostrowski
savannahostrowski merged commit 8b669d5 into python:main Dec 12, 2025
46 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Dec 12, 2025
@savannahostrowski savannahostrowski mentioned this pull request Dec 12, 2025
Update Tachyon to use backtick formatting in CLI help #142646
Closed
@hugovk hugovk mentioned this pull request May 4, 2026
gh-142389: Add support for backtick colorisation in argparse help text #149375
Merged
@tony tony mentioned this pull request Oct 17, 2026
cihai fails on Python 3.15: _theme clashes with argparse cihai/cihai-cli#359
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hugovk hugovk hugovk approved these changes
@AA-Turner AA-Turner Awaiting requested review from AA-Turner AA-Turner is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@savannahostrowski @hugovk
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.