Skip to content

[3.6] bpo-32137: The repr of deeply nested dict now raises a RecursionError (GH-4570)#4689

Merged
serhiy-storchaka merged 1 commit into
python:3.6from
miss-islington:backport-1fb72d2-3.6
Feb 1, 2018
Merged

[3.6] bpo-32137: The repr of deeply nested dict now raises a RecursionError (GH-4570)#4689
serhiy-storchaka merged 1 commit into
python:3.6from
miss-islington:backport-1fb72d2-3.6

Conversation

@miss-islington

@miss-islington miss-islington commented Dec 3, 2017

Copy link
Copy Markdown
Contributor

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

…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)
@miss-islington

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Backport status check is done, and it's a success ✅ .

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

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 vstinner left a comment

Copy link
Copy Markdown
Member

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.

@serhiy-storchaka

Copy link
Copy Markdown
Member

Thank you @vstinner, I have some doubts. I want to know the opinion of @rhettinger before merging one of this PRs.

@miss-islington

Copy link
Copy Markdown
Contributor Author

Thanks @miss-islington for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor Author

Thanks, @serhiy-storchaka!

@miss-islington miss-islington deleted the backport-1fb72d2-3.6 branch February 1, 2018 11:57
@miss-islington

Copy link
Copy Markdown
Contributor Author

Sorry, @miss-islington and @serhiy-storchaka, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 688b6dec4e8847a154ef27257069291175764794 2.7

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.

5 participants