-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
[3.6] bpo-32137: The repr of deeply nested dict now raises a RecursionError (GH-4570) #4689
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
[3.6] bpo-32137: The repr of deeply nested dict now raises a RecursionError (GH-4570) #4689
Conversation
…pythonGH-4570) instead of crashing due to a stack overflow. This perhaps will fix similar problems in other extension types. (cherry picked from commit 1fb72d2)
|
@serhiy-storchaka: Backport status check is done, and it's a success ✅ . |
vstinner
left a comment
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.
LGTM. IMHO it's ok to do this change in 3.6.
vstinner
left a comment
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.
LGTM.
IMHO this change is ok for Python 3.6.
|
Thank you @vstinner, I have some doubts. I want to know the opinion of @rhettinger before merging one of this PRs. |
|
Thanks @miss-islington for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7. |
|
Thanks, @serhiy-storchaka! |
|
Sorry, @miss-islington and @serhiy-storchaka, I could not cleanly backport this to |
instead of crashing due to a stack overflow.
This perhaps will fix similar problems in other extension types.
(cherry picked from commit 1fb72d2)
https://bugs.python.org/issue32137