Lysandros Nikolaou <lisandros...@gmail.com> added the comment:

We do not have a big corpus of SyntaxErrors to test against, but some manual 
testing of running a file with a SyntaxError after a long complex line 1000 
times shows no slowdown.

We keep the token stream for the second run, so we don't need to run the 
tokenizer all over again and the parsing is done much more quickly.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42123>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to