[issue44010] IDLE: highlight new `match` / `case` syntax
Ken Jin
report at bugs.python.org
Sun May 2 11:53:38 EDT 2021
Ken Jin <kenjin4096 at gmail.com> added the comment:
Hi, I'm no IDLE expert, but I think moving the new soft keywords into kwlist seems wrong:
Soft keywords were added in Python 3.9 when the PEG parser became the default. The keyword list was also updated accordingly https://docs.python.org/3/library/keyword.html#keyword.softkwlist.
This link provides an explanation of how soft keywords differ from normal keywords: https://docs.python.org/3.10/reference/lexical_analysis.html#soft-keywords
Thanks
----------
nosy: +kj
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44010>
_______________________________________
More information about the Python-bugs-list
mailing list