mirror of
https://github.com/python/cpython.git
synced 2026-05-16 09:29:00 -04:00
615069eb08
Fix a crash at Python exit when a deallocator function removes the last strong reference to a heap type. Don't read type memory after calling basedealloc() since basedealloc() can deallocate the type and free its memory. _PyMem_IsPtrFreed() argument is now constant.
Source files for various builtin objects