diff options
author | Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 2022-02-13 10:29:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 10:29:42 (GMT) |
commit | c31b8a97a8a7e8255231c9e12ed581c6240c0d6c (patch) | |
tree | 2814feb4775869a83f43c273d1c33c60268316b9 /Lib/asyncio/protocols.py | |
parent | ebe73e6095fc019fd1e31c9f41bc67d56ee003b6 (diff) | |
download | cpython-c31b8a97a8a7e8255231c9e12ed581c6240c0d6c.zip cpython-c31b8a97a8a7e8255231c9e12ed581c6240c0d6c.tar.gz cpython-c31b8a97a8a7e8255231c9e12ed581c6240c0d6c.tar.bz2 |
bpo-46615: Don't crash when set operations mutate the sets (GH-31120) (GH-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 4a66615ba736f84eadf9456bfd5d32a94cccf117)
Diffstat (limited to 'Lib/asyncio/protocols.py')
0 files changed, 0 insertions, 0 deletions