Staging
v0.5.1
https://github.com/python/cpython
Revision 9ece9cd65cdeb0a1f6e60475bbd0219161c348ac authored by Serhiy Storchaka on 04 October 2020, 21:55:57 UTC, committed by GitHub on 04 October 2020, 21:55:57 UTC
Enable recursion checks which were disabled when get __bases__ of
non-type objects in issubclass() and isinstance() and when intern
strings. It fixes a stack overflow when getting __bases__ leads
to infinite recursion.

Originally recursion checks was disabled for PyDict_GetItem() which
silences all errors including the one raised in case of detected
recursion and can return incorrect result. But now the code uses
PyDict_GetItemWithError() and PyDict_SetDefault() instead.
1 parent 619f980
History
Tip revision: 9ece9cd65cdeb0a1f6e60475bbd0219161c348ac authored by Serhiy Storchaka on 04 October 2020, 21:55:57 UTC
bpo-41909: Enable previously disabled recursion checks. (GH-22536)
Tip revision: 9ece9cd
File Mode Size
ax_c_float_words_bigendian.m4 -rw-r--r-- 3.1 KB
ax_check_openssl.m4 -rw-r--r-- 4.1 KB

back to top