]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-127060: Disable traceback colors in IDLE (GH-128028) (#128052)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 18 Dec 2024 05:58:57 +0000 (06:58 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Dec 2024 05:58:57 +0000 (05:58 +0000)
commitf8b4e20137b5c5d1e99cbf6c8f35f7041785b4c1
tree8ab8444d11aa8273b93e7a6ebcbd14a7d7700066
parentfe08cdf2657bfde80aeed436fe49fee233651837
[3.13] gh-127060: Disable traceback colors in IDLE (GH-128028) (#128052)

Set TERM environment variable to "dumb" to disable traceback colors
in IDLE, since IDLE doesn't understand ANSI escape sequences.

(cherry picked from commit 559b0e7013f9cbf42a12fe9c86048d5cbb2f6f22)

Co-authored-by: Victor Stinner <vstinner@python.org>
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]