]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-139742: Add support for Python 3.14 t-string prefixes in IDLE colorizer...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Oct 2025 09:51:58 +0000 (11:51 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Oct 2025 09:51:58 +0000 (09:51 +0000)
commit342b644bd22e27bb4f0ed886736c088de40dd121
tree8cad033fee2aceddea5d3bce96633fac4aebd0f9
parent08faef865c6293eafe719996f3218e081db96c0a
[3.14] gh-139742: Add support for Python 3.14 t-string prefixes in IDLE colorizer and tests (GH-139756) (#139831)

gh-139742: Add support for Python 3.14 t-string prefixes in IDLE colorizer and tests (GH-139756)

Add 't' prefix to colorizer.py stringprefix regex to support Python 3.14 template strings.
Add t prefixes to test_colorizer.py source test text and adjust line numbers on test methods.
---------
(cherry picked from commit 6fd141834193e3dc2423e785d97eb127c972a70e)

Co-authored-by: Anuradha Agrawal <paysur2111@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Lib/idlelib/colorizer.py
Lib/idlelib/idle_test/test_colorizer.py
Misc/NEWS.d/next/IDLE/2025-10-08-08-35-50.gh-issue-139742.B3fZLg.rst [new file with mode: 0644]