gh-139946: distinguish stdout or stderr when colorizing output in argparse#140495
Merged
savannahostrowski merged 6 commits intoDec 8, 2025
python:mainpython/cpython:mainfrom
frostming:fix/colorize-argparsefrostming/cpython:fix/colorize-argparseCopy head branch name to clipboard
Merged
gh-139946: distinguish stdout or stderr when colorizing output in argparse#140495savannahostrowski merged 6 commits intopython:mainpython/cpython:mainfrom frostming:fix/colorize-argparsefrostming/cpython:fix/colorize-argparseCopy head branch name to clipboard
savannahostrowski merged 6 commits into
python:mainpython/cpython:mainfrom
frostming:fix/colorize-argparsefrostming/cpython:fix/colorize-argparseCopy head branch name to clipboard
Commits
Commits on Dec 8, 2025
fix: distinguish stdout or stderr when colorizing output in argparse
Show description for 1c6c898committed- authored andcommitted
fix: make _get_formatter to take file argument to avoid calling set_color
Show description for 6c02905committedadd tests for the change
Show description for 8ed66a2committedfix: handle backward-compatibility for format_* methods
Show description for 8518870committed- authored