summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-19 09:44:14 (GMT)
committerGitHub <noreply@github.com>2021-05-19 09:44:14 (GMT)
commit3357604db966693b752cbd9ffc3ad0f40b970d31 (patch)
tree9bb73adade0c8cabb9e9dacb98dbf206e431ca7d /Doc/whatsnew
parent5f2afff1ddbf11c8dfa9ddc98fb7a2f2d86eabde (diff)
downloadcpython-3357604db966693b752cbd9ffc3ad0f40b970d31.zip
cpython-3357604db966693b752cbd9ffc3ad0f40b970d31.tar.gz
cpython-3357604db966693b752cbd9ffc3ad0f40b970d31.tar.bz2
bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851)
(cherry picked from commit 60d343a81679ea90ae0e08fadcd132c16906a51a) Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 926679e..570af7f 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -1030,6 +1030,12 @@ Terry Jan Reedy in :issue:`37892`.)
We expect to backport these shell changes to a future 3.9 maintenance
release.
+Highlight the new :ref:`soft keywords <soft-keywords>` :keyword:`match`,
+:keyword:`case <match>`, and :keyword:`_ <wildcard-patterns>` in
+pattern-matching statements. However, this highlighting is not perfect
+and will be incorrect in some rare cases, including some ``_``-s in
+``case`` patterns. (Contributed by Tal Einat in bpo-44010.)
+
importlib.metadata
------------------