Empty values of FORCE_COLOR and NO_COLOR are not ignored #129061
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
topic-repl
Related to the interactive shell
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
https://no-color.org/
https://force-color.org/
Both "standards" state that these environment variables has only effect if their value is not an empty string. But Python currently only tests that the environment variables are defined.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
FORCE_COLOR
andNO_COLOR
when empty strings #129140FORCE_COLOR
andNO_COLOR
when empty strings (GH-129140) #129360The text was updated successfully, but these errors were encountered: