]> granicus.if.org Git - python/commit
closes bpo-38127: _ctypes: PyObject_IsSubclass() should be checked for failure. ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 12 Sep 2019 10:28:05 +0000 (03:28 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2019 10:28:05 +0000 (03:28 -0700)
commit79cbaf50ac9530d507149402de5c84fa590d9cfb
treee22fba215c9ad64f8260d86f79851c9f3fc407e1
parent3562ae25402aad36583bc27d4d82c67554323d5e
closes bpo-38127: _ctypes: PyObject_IsSubclass() should be checked for failure. (GH-16011)

An exception may occur during a PyObject_IsSubclass() call.
(cherry picked from commit ea683deccc505a78bbbb1eb8c6a88b0835ad5151)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Modules/_ctypes/_ctypes.c