]> granicus.if.org Git - python/commit
bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)
authorTal Einat <taleinat+github@gmail.com>
Sat, 6 Jul 2019 12:35:24 +0000 (15:35 +0300)
committerGitHub <noreply@github.com>
Sat, 6 Jul 2019 12:35:24 +0000 (15:35 +0300)
commitfcf1d003bf4f0100c9d0921ff3d70e1127ca1b71
tree77d6f9323162ee6455a14da9c4f9bb78640284ae
parent45bc61b97178b27ae05bd3eb95481bf0325795bb
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.
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]