[issue44368] Invalid mapping patterns give confusing SyntaxErrors

Pablo Galindo Salgado report at bugs.python.org
Wed Jun 9 16:20:04 EDT 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Oh, wait, I think I misunderstood the problem. The problem is that the parser is backtracking and identifying match as a name. 

Indeed, the soft keyword is a pain :(

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44368>
_______________________________________


More information about the Python-bugs-list mailing list