-
-
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
minor fix to uninstall_recursionlimit_wrappers()
- Loading branch information
commit 9ddd699600d23116e2577acdb2ce9dac6ea0fe8b
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is (only) needed for tests. Add line "# Needed for tests." so function is never deleted as 'unused'. (I have made similar notes for other test-only code.)
<Done.>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would it be deleted if it is used in test code? Even if it were deleted, the tests would immediately break!
Also, there's no telling who might find other uses for this in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me start over. I initially wasted time looking for where this was used in run.py. I like to mark test code (code we/IDLE only use as such). So I moved the comment, reworded, into the docstring and added a note that users could also use this. (Yeah, one of use might want to do so sometime.) I think that this is an improvement.