mirror of https://github.com/python/cpython
f0a648152f
Since, - Py_CompileString no longer allows to distinguish "incomplete input" from "invalid input" - there is no alternative solution available from the Python C API due to how the new parser works (rewritten in 3.9) - the only supported way is to manually import the codeop module from C and use its API as IDLE does, and accept its own complications it is desirable to remove this Q&A from the official FAQ. |
||
---|---|---|
.. | ||
design.rst | ||
extending.rst | ||
general.rst | ||
gui.rst | ||
index.rst | ||
installed.rst | ||
library.rst | ||
programming.rst | ||
python-video-icon.png | ||
windows.rst |