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 backticks to stdlib argparse help to display in colour by hugovk · Pull Request #149384 · python/cpython

Conversation

@hugovk

@hugovk hugovk commented May 4, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Companion to #149375.

Also remove the now-redundant color=True, it's the default since 3.14.

  • Issue: Add support for colorizing code examples in argparse description/epilog #142389

Sorry, something went wrong.

Uh oh!

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

All reactions
hugovk added 20 commits May 5, 2026 00:28
@hugovk
Backticks in pdb
bcf0fd2
@hugovk
Backticks in regrtest
2b5853f
@hugovk
Backticks in timeit
bdef70d
@hugovk
Backticks in compileall
023d97f
@hugovk
Backticks in json.tool
4fe6e68
@hugovk
Backticks in zipfile
c486900
@hugovk
Backticks in random
992d553
@hugovk
Backticks in inspect
5875c67
@hugovk
Backticks in sqlite3
4d9e184
@hugovk
Backticks in uuid
4c14dc8
@hugovk
Backticks in profiling.sampling
0ba15a5
@hugovk
Backticks in trace
fe61ecc
@hugovk
Backticks in unittest
8455f2a
@hugovk
Backticks in doctest
868e7ef
@hugovk
Backticks in zipapp
aafc6a9
@hugovk
Backticks in ast
63fcb07
@hugovk
Backticks in tokenize
1c1f400
@hugovk
Backticks in gzip
a02b9ed
@hugovk
Remove default color=True
a8e7217
@hugovk
Add blurb
3b962c3
@hugovk
hugovk requested review from FFY00, berkerpeksag, erlend-aasland, ethanfurman, gaogaotiantian, pablogsal, pfmoore, pradyunsg, rhettinger and vsajip as code owners May 4, 2026 21:31
@hugovk
hugovk requested review from a team, 1st1, Eclips4, JelleZijlstra, asvetlov, isidentical, kumaraditya303, lysnikolaou, tomasr8 and willingc as code owners May 4, 2026 21:31
@hugovk hugovk changed the title gh-142389: Add backticks to stdlib argparse help to display in colour. gh-142389: Add backticks to stdlib argparse help to display in colour May 4, 2026
@bedevere-app bedevere-app Bot mentioned this pull request May 4, 2026
Add support for colorizing code examples in argparse description/epilog #142389
Closed
@bedevere-app bedevere-app Bot added the awaiting core review label May 4, 2026
@hugovk hugovk mentioned this pull request May 4, 2026
gh-142389: Add support for backtick colorisation in argparse help text #149375
Merged
savannahostrowski added 2 commits May 4, 2026 14:46
@savannahostrowski
Backticks in calendar
11d3b25
@savannahostrowski
Backticks in pickletools
92c889b
savannahostrowski
savannahostrowski approved these changes May 4, 2026
View reviewed changes

@savannahostrowski savannahostrowski 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.

Overall, LGTM! Thanks for doing this cleanup. I think there are a couple more spots where we can add the backticks: hugovk#83

Sorry, something went wrong.

Uh oh!

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

hugovk reacted with rocket emoji
All reactions
  • 🚀 1 reaction
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels May 4, 2026
@hugovk
Add backticks to calendar and pickletools (#83)
cfc6a00
@hugovk
hugovk requested a review from AA-Turner as a code owner May 4, 2026 21:54
@hugovk
hugovk enabled auto-merge (squash) May 4, 2026 21:55
@read-the-docs-community

read-the-docs-community Bot commented May 4, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32533857 | 📁 Comparing cfc6a00 against main (53a7f76)

  🔍 Preview build  

2 files changed
± whatsnew/3.15.html
± whatsnew/changelog.html
All reactions

Sorry, something went wrong.

Uh oh!

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

@hugovk
hugovk merged commit ef6f063 into python:main May 4, 2026
60 of 63 checks passed

Uh oh!

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

@hugovk
hugovk deleted the 3.15-argparse-help-backticks2 branch May 4, 2026 22:23
@bedevere-app bedevere-app Bot removed the awaiting merge label May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@savannahostrowski savannahostrowski savannahostrowski approved these changes
@vsajip vsajip Awaiting requested review from vsajip vsajip is a code owner
@FFY00 FFY00 Awaiting requested review from FFY00 FFY00 is a code owner
@ethanfurman ethanfurman Awaiting requested review from ethanfurman ethanfurman is a code owner
@berkerpeksag berkerpeksag Awaiting requested review from berkerpeksag
@erlend-aasland erlend-aasland Awaiting requested review from erlend-aasland erlend-aasland is a code owner
@rhettinger rhettinger Awaiting requested review from rhettinger rhettinger is a code owner
@pablogsal pablogsal Awaiting requested review from pablogsal pablogsal is a code owner
@gaogaotiantian gaogaotiantian Awaiting requested review from gaogaotiantian gaogaotiantian is a code owner
@pfmoore pfmoore Awaiting requested review from pfmoore pfmoore is a code owner
@pradyunsg pradyunsg Awaiting requested review from pradyunsg pradyunsg is a code owner
@1st1 1st1 Awaiting requested review from 1st1 1st1 is a code owner
@asvetlov asvetlov Awaiting requested review from asvetlov asvetlov is a code owner
@kumaraditya303 kumaraditya303 Awaiting requested review from kumaraditya303 kumaraditya303 is a code owner
@willingc willingc Awaiting requested review from willingc willingc is a code owner
@lysnikolaou lysnikolaou Awaiting requested review from lysnikolaou lysnikolaou is a code owner
@isidentical isidentical Awaiting requested review from isidentical isidentical is a code owner
@JelleZijlstra JelleZijlstra Awaiting requested review from JelleZijlstra JelleZijlstra is a code owner
@Eclips4 Eclips4 Awaiting requested review from Eclips4 Eclips4 is a code owner
@tomasr8 tomasr8 Awaiting requested review from tomasr8 tomasr8 is a code owner
@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

@hugovk @savannahostrowski
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.