◐ Shell
clean mode source ↗

[3.9] bpo-46615: Don't crash when set operations mutate the sets (GH-31120) by sweeneyde · Pull Request #31312 · python/cpython

…31120)

Ensure strong references are acquired whenever using `set_next()`. Added randomized test cases for `__eq__` methods that sometimes mutate sets when called.

(cherry picked from commit 4a66615)

sweeneyde

hello-adam pushed a commit to hello-adam/cpython that referenced this pull request

Jun 2, 2022
…31120) (pythonGH-31312)

Ensure strong references are acquired whenever using `set_next()`. Added randomized test cases for `__eq__` methods that sometimes mutate sets when called.

(cherry picked from commit 4a66615)