bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851)

This commit is contained in:
Tal Einat 2021-05-19 12:18:10 +03:00 committed by GitHub
parent d798acc873
commit 60d343a816
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 345 additions and 73 deletions

View file

@ -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
------------------