STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42214>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to