-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Investigate argparse formatter handling of color #139862
Copy link
Copy link
Closed
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Doc issues
Hmm, this seems like a bug.
HelpFormatteracceptscolor, but it is then seemingly overridden in_get_formatter. This should probably be respected, or we should remove it to avoid confusion.Originally posted by @savannahostrowski in #139818 (comment)
Linked PRs
colorfrom HelpFormatter #142274HelpFormatter#142384