[issue46502] Py_CompileString no longer allows to tell "incomplete input" from "invalid input"

Pablo Galindo Salgado report at bugs.python.org
Tue Jan 25 09:32:05 EST 2022


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

Indeed, these new errors are due to the new parser. Unfortunately, the new parser doesn't allow to check against incomplete input the way the old one did so that piece of documentation is unfortunately outdated.

We should remove it to avoid further confusion.

----------

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


More information about the Python-bugs-list mailing list