[issue38673] REPL shows continuation prompt (...) when comment or space entered

Guido van Rossum report at bugs.python.org
Thu Nov 7 17:46:49 EST 2019


Guido van Rossum <guido at python.org> added the comment:

Yes, that's likely where the change should be made.

I think if the *first* token encountered is either NL or COMMENT the parse should be abandoned by the tokenizer.

----------

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


More information about the Python-bugs-list mailing list