]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106033: Get rid of new occurrences of PyDict_GetItem and PyObject_HasAttr (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 23 Jun 2023 17:10:32 +0000 (20:10 +0300)
committerGitHub <noreply@github.com>
Fri, 23 Jun 2023 17:10:32 +0000 (20:10 +0300)
commit1d33d5378058671bfabb6f4d4b5bfd4726973ff9
treec522809e945151a3525780025b88475695445ad3
parent41ad4dfc04c201728ce9fa12b1a96922dd15a368
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.
Modules/_hashopenssl.c
Modules/_testcapi/code.c
Objects/exceptions.c
Objects/typeobject.c
Python/pythonrun.c