cpython/Doc/builtins
Serhiy Storchaka 0632698c66
[3.13] gh-69919: Catch all compile errors in the code module, pyrepl and IDLE (GH-157585) (#158030)
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 4bc392c134)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-23 21:29:39 -04:00
..
constants.rst
exceptions.rst
functions.rst
index.rst
stdtypes.rst