mirror of
https://github.com/python/cpython.git
synced 2026-05-10 06:31:43 -04:00
9b648a95cc
When allocating MemoryError classes, there is some logic to use pre-allocated instances in a freelist only if the type that is being allocated is not a subclass of MemoryError. Unfortunately in the destructor this logic is not present so the freelist is altered even with subclasses of MemoryError.
Source files for various builtin objects