-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
bpo-26806: add 30 to the recursion limit in IDLE's shell #13944
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
taleinat
merged 16 commits into
python:master
from
taleinat:bpo-26806/IDLE-recursion-limit
Jul 6, 2019
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
062b111
bpo-26806: transparently add 25 to the recursion limit in IDLE
taleinat 7d7b622
add a test + bugfix
taleinat f3b93f5
add docstring + comment referencing the bpo issue
taleinat af3ee2b
address review comments
taleinat 9ddd699
minor fix to uninstall_recursionlimit_wrappers()
taleinat 38bab8d
update NEWS
taleinat 57c8b7b
Merge remote-tracking branch 'origin/master' into pr_13944
terryjreedy 6f6ca69
Use f-string for error message and test bad calls.
terryjreedy ca15c75
Add test note.
terryjreedy d89350c
Revise blurb and add idlelib NEWS item.
terryjreedy 7e7d21d
Add paragraph to doc.
terryjreedy 6c20f8c
Update idle.rst
terryjreedy e7427ee
Update run.py
terryjreedy fd05a6a
fix typo
taleinat 2c1d8d5
fix whitespace
taleinat 7d6c545
another whitespace fix
taleinat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
bpo-26806: transparently add 25 to the recursion limit in IDLE
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.
- Loading branch information
commit 062b111a695cd9f7e30f92b5d4862e4383031d43
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/IDLE/2019-06-10-22-48-50.bpo-26806.Zltkum.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Transparently add 25 to the recursion limit in IDLE's shell to compensate | ||
| for stack frames added by IDLE. Patch by Tal Einat. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.