]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-129061: Fix `FORCE_COLOR` and `NO_COLOR` when empty strings (GH-129140...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 27 Jan 2025 14:48:05 +0000 (15:48 +0100)
committerGitHub <noreply@github.com>
Mon, 27 Jan 2025 14:48:05 +0000 (14:48 +0000)
commitc7f9e7446ce790cc0b133c18802bf4b030d3814f
tree1388e766f26a3eb47148d8da765e7b7ffb4a850e
parent98c25b8e1368dcd6ac698f3adc7ff2e893b6d9dd
[3.13] gh-129061: Fix `FORCE_COLOR` and `NO_COLOR` when empty strings (GH-129140) (#129360)

gh-129061: Fix `FORCE_COLOR` and `NO_COLOR` when empty strings (GH-129140)
(cherry picked from commit 9546fe2ef2db921709f3cb355b33bba977658672)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Lib/_colorize.py
Lib/test/test__colorize.py
Misc/NEWS.d/next/Library/2025-01-21-18-52-32.gh-issue-129061.4idD_B.rst [new file with mode: 0644]