]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46502: Remove "How do I tell incomplete input" from FAQ (GH-30925)
authorMateusz Łoskot <mateusz@loskot.net>
Wed, 26 Jan 2022 23:49:06 +0000 (00:49 +0100)
committerGitHub <noreply@github.com>
Wed, 26 Jan 2022 23:49:06 +0000 (23:49 +0000)
commitf0a648152f2d8011f47cc49873438ebaf01d3f82
treea38d9748926c254a5b3966d4131a88089642c341
parent13194084b40fe6579a70248b7be0665ff4f08374
bpo-46502: Remove "How do I tell incomplete input" from FAQ (GH-30925)

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.
Doc/faq/extending.rst