]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] GH-142267: Cache formatter to avoid repeated `_set_color` calls (GH-142268...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Dec 2025 17:14:56 +0000 (18:14 +0100)
committerGitHub <noreply@github.com>
Fri, 5 Dec 2025 17:14:56 +0000 (17:14 +0000)
commit37c6dd1c91159c87bb458c5c2e21f02a88f9386b
treec9204567ec1441920da8d681a2c37a5c6fa81968
parent4cb6cbb6faa23cf8c6c687ab5738bea2259d9918
[3.14] GH-142267: Cache formatter to avoid repeated `_set_color` calls (GH-142268) (#142313)

GH-142267: Cache formatter to avoid repeated `_set_color` calls (GH-142268)
(cherry picked from commit 4085ff7b32f91bad7d821e5564d8565c5928f7d1)

Co-authored-by: Savannah Ostrowski <savannah@python.org>
Lib/argparse.py
Misc/NEWS.d/next/Library/2025-12-04-23-26-12.gh-issue-142267.yOM6fP.rst [new file with mode: 0644]