cpython/Misc/NEWS.d/next/Core and Builtins/2018-09-24-17-51-15.bpo-301...

5 lines
264 B
ReStructuredText

The C function ``property_descr_get()`` uses a "cached" tuple to optimize
function calls. But this tuple can be discovered in debug mode with
:func:`sys.getobjects()`. Remove the optimization, it's not really worth it
and it causes 3 different crashes last years.