]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 6 Jul 2019 12:56:10 +0000 (05:56 -0700)
committerGitHub <noreply@github.com>
Sat, 6 Jul 2019 12:56:10 +0000 (05:56 -0700)
commitd666217b26c373784761e3a84f243f02682bccb1
treeec70236a2b7903914d36bf89730c9693edfb168e
parentd2c5677a4f3be7de572def0a914b96385d7982b0
bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)

This is done to compensate for the extra stack frames added by
IDLE itself, which cause problems when setting the recursion limit
to low values.

This wraps sys.setrecursionlimit() and sys.getrecursionlimit()
as invisibly as possible.
(cherry picked from commit fcf1d003bf4f0100c9d0921ff3d70e1127ca1b71)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Doc/library/idle.rst
Lib/idlelib/NEWS.txt
Lib/idlelib/help.html
Lib/idlelib/idle_test/test_run.py
Lib/idlelib/run.py
Misc/NEWS.d/next/IDLE/2019-06-10-22-48-50.bpo-26806.Zltkum.rst [new file with mode: 0644]