]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-106033: Get rid of new occurrences of PyDict_GetItem and Py… (#106040)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 24 Jun 2023 23:41:02 +0000 (02:41 +0300)
committerGitHub <noreply@github.com>
Sat, 24 Jun 2023 23:41:02 +0000 (16:41 -0700)
commitdbe416b82b8a4ba69d263b915167ea1650ff2412
tree11c8d2be004563e48ec22f86cf83900a2e242e5c
parentc69f29f879c27a6ae306db2a590102eb4d0d3701
[3.11] gh-106033: Get rid of new occurrences of PyDict_GetItem and Py… (#106040)

[3.11] gh-106033: Get rid of new occurrences of PyDict_GetItem and PyObject_HasAttr (GH-106034)

These functions are broken by design because they discard any exceptions raised
inside, including MemoryError and KeyboardInterrupt.  They should not be
used in new code..
(cherry picked from commit 1d33d5378058671bfabb6f4d4b5bfd4726973ff9)
Modules/_hashopenssl.c
Objects/exceptions.c
Python/pythonrun.c