Ken Jin 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
New submission from E. Paine :
As-per PEP 634, structural pattern matching is now in Python. This introduces
the `match` and `case` keywords. IDLE does not highlight these.
The problem is that these are listed in `keyword.softkwlist` rather than
`keyword.kwlist` (which is what IDLE uses).