[issue42214] Parser/pegen.c:68: _PyPegen_check_barry_as_flufl: Assertion `t->type == NOTEQUAL' failed

STINNER Victor report at bugs.python.org
Fri Oct 30 18:06:54 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

In release mode, there is no assertion error:

$ python3.10 pgen_bug.py 
  File "/home/vstinner/python/master/pgen_bug.py", line 6
    try
       ^
SyntaxError: invalid syntax

----------

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


More information about the Python-bugs-list mailing list