diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-22 21:46:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-22 21:46:56 (GMT) |
commit | f812fef2f8f12441ce559335645433c8124e7db5 (patch) | |
tree | a96fcaa7e695d4f1dee35c8c23c0e9061ed0b5f3 /Misc/NEWS.d | |
parent | 19903085c3ad7a17c8047e1556c700f2eb109931 (diff) | |
download | cpython-f812fef2f8f12441ce559335645433c8124e7db5.zip cpython-f812fef2f8f12441ce559335645433c8124e7db5.tar.gz cpython-f812fef2f8f12441ce559335645433c8124e7db5.tar.bz2 |
bpo-30570: Use Py_EnterRecursiveCall() in issubclass() (GH-29048)
* Use Py_EnterRecursiveCall() in issubclass()
Reviewed-by: Gregory P. Smith <greg@krypto.org> [Google]
(cherry picked from commit 423fa1c1817abfa8c3d1bc308ddbbd8f28b69d68)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-10-19-01-04-08.bpo-30570._G30Ms.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-19-01-04-08.bpo-30570._G30Ms.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-19-01-04-08.bpo-30570._G30Ms.rst new file mode 100644 index 0000000..d9ab60c --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2021-10-19-01-04-08.bpo-30570._G30Ms.rst @@ -0,0 +1 @@ +Fixed a crash in ``issubclass()`` from infinite recursion when searching pathological ``__bases__`` tuples.
\ No newline at end of file |