mirror of
https://github.com/python/cpython
synced 2026-10-30 08:11:56 +03:00
gh-69919: Catch all compile errors in the code module, pyrepl and IDLE (GH-157585)
compile() can raise MemoryError or RecursionError for too deeply
nested source, not only SyntaxError, OverflowError and ValueError.
IDLE's Shell then lost its prompt until the input was deleted.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| constants.rst | ||
| exceptions.rst | ||
| functions.rst | ||
| index.rst | ||
| stdtypes.rst | ||