diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-02-11 20:44:17 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-11 20:44:17 (GMT) |
| commit | 1f5fe9962f768c8bfd4ed06a22532d31d3424dc9 (patch) | |
| tree | 06adf4d5d7a0beeed6c34f3607074c02b8da9d49 /Python/compile.c | |
| parent | 8b8673fe940c4ebc4512bff5af180b66def3d1ae (diff) | |
| download | cpython-1f5fe9962f768c8bfd4ed06a22532d31d3424dc9.zip cpython-1f5fe9962f768c8bfd4ed06a22532d31d3424dc9.tar.gz cpython-1f5fe9962f768c8bfd4ed06a22532d31d3424dc9.tar.bz2 | |
bpo-46615: Don't crash when set operations mutate the sets (GH-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 4a66615ba736f84eadf9456bfd5d32a94cccf117)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions
