diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2020-01-27 15:02:23 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2020-01-27 15:02:23 (GMT) |
commit | 4dbf2d8c6789a9b7299b142033073213604b8fdc (patch) | |
tree | 1390368a570c1d528c18df15bf74ec443451f04d /Misc | |
parent | a46575a8f2ded8b49e26c25bb67192e1500e76ca (diff) | |
download | cpython-4dbf2d8c6789a9b7299b142033073213604b8fdc.zip cpython-4dbf2d8c6789a9b7299b142033073213604b8fdc.tar.gz cpython-4dbf2d8c6789a9b7299b142033073213604b8fdc.tar.bz2 |
bpo-39453: Make list.__contains__ hold strong references to avoid crashes (GH-18181)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2020-01-25-23-51-17.bpo-39453.xCOkYk.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-01-25-23-51-17.bpo-39453.xCOkYk.rst b/Misc/NEWS.d/next/Core and Builtins/2020-01-25-23-51-17.bpo-39453.xCOkYk.rst new file mode 100644 index 0000000..8c2e49f --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2020-01-25-23-51-17.bpo-39453.xCOkYk.rst @@ -0,0 +1,2 @@ +Fixed a possible crash in :meth:`list.__contains__` when a list is changed +during comparing items. Patch by Dong-hee Na. |