Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-109216: Fix possible memory leak inBUILD_MAP
#109257
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
Yeah, that's a good catch. This bug looks quite old, it's in 3.11, and I think it existed even before this code was refactored in#31564.
@sobolevn Can you manually backport this to older branches? Thanks |
Sure, will do later today. |
Thanks@sobolevn for the PR, and@kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Thanks@sobolevn for the PR, and@kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry,@sobolevn and@kumaraditya303, I could not cleanly backport this to |
Sorry,@sobolevn and@kumaraditya303, I could not cleanly backport this to |
Uh oh!
There was an error while loading.Please reload this page.
_PyDict_FromItems
can only fail withMemoryError
and several other errors which can be considered as disasters, not a regular control flow.But, it should be now in sync with
BUILD_CONST_KEY_MAP