Skip to content

[3.7] bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944) #14622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 6, 2019

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 fcf1d00)

Co-authored-by: Tal Einat taleinat+github@gmail.com

https://bugs.python.org/issue26806

)

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 fcf1d00)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
@miss-islington
Copy link
Contributor Author

@taleinat: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit d666217 into python:3.7 Jul 6, 2019
@miss-islington miss-islington deleted the backport-fcf1d00-3.7 branch July 6, 2019 12:56
@miss-islington
Copy link
Contributor Author

@taleinat: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants