diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-09-01 19:39:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 19:39:46 +0100 |
commit | 9b648a95ccb4c3b14f1e87158f5c9f5dbb2f62c0 (patch) | |
tree | bf8539814364c648b58965d3558014a23d6bcf4f /Lib/concurrent/futures/_base.py | |
parent | 6844b56176c41f0a0e25fcd4fef5463bcdbc7d7c (diff) | |
download | cpython-git-9b648a95ccb4c3b14f1e87158f5c9f5dbb2f62c0.tar.gz |
bpo-41654: Fix deallocator of MemoryError to account for subclasses (GH-22020)
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.
Diffstat (limited to 'Lib/concurrent/futures/_base.py')
0 files changed, 0 insertions, 0 deletions