]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127060: Disable traceback colors in IDLE (#128028)
authorVictor Stinner <vstinner@python.org>
Wed, 18 Dec 2024 05:35:05 +0000 (06:35 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Dec 2024 05:35:05 +0000 (00:35 -0500)
commit559b0e7013f9cbf42a12fe9c86048d5cbb2f6f22
tree7e42cf5aac47abe806215de69ae86b68dfca705c
parentb92f101d0f19a1df32050b8502cfcce777b079b2
gh-127060: Disable traceback colors in IDLE (#128028)

Set TERM environment variable to "dumb" to disable traceback colors
in IDLE, since IDLE doesn't understand ANSI escape sequences.
Lib/idlelib/pyshell.py
Misc/NEWS.d/next/Library/2024-12-17-13-21-52.gh-issue-127060.mv2bX6.rst [new file with mode: 0644]