Skip to content

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

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-fcf1d00-3.7
Jul 6, 2019
Merged

[3.7] bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)#14622
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-fcf1d00-3.7

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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