Skip to content

Conversation

kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Oct 11, 2024

Similar to #123089, this fixes WeakKeyDictionary and WeakValueDictionary by copying the underlying dict before iterating over it.

@kumaraditya303 kumaraditya303 marked this pull request as ready for review October 11, 2024 16:38
Copy link
Contributor

@colesbury colesbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One minor comment below.

@kumaraditya303 kumaraditya303 merged commit cd0f9d1 into python:main Oct 13, 2024
37 checks passed
@kumaraditya303 kumaraditya303 deleted the weakref branch October 13, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants