diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-08 00:14:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 00:14:47 (GMT) |
commit | bcb198385dee469d630a184182df9dc1463e2c47 (patch) | |
tree | 193bc5c3584732b506223a34f3215a03fd1be408 /Modules/_pickle.c | |
parent | c96a61e8163c2d25ed4ac77cf96201fd0bdb945c (diff) | |
download | cpython-bcb198385dee469d630a184182df9dc1463e2c47.zip cpython-bcb198385dee469d630a184182df9dc1463e2c47.tar.gz cpython-bcb198385dee469d630a184182df9dc1463e2c47.tar.bz2 |
bpo-40887: Don't use finalized free lists (GH-20700)
In debug mode, ensure that free lists are no longer used after being
finalized. Set numfree to -1 in finalization functions
(eg. _PyList_Fini()), and then check that numfree is not equal to -1
before using a free list (e.g list_dealloc()).
Diffstat (limited to 'Modules/_pickle.c')
0 files changed, 0 insertions, 0 deletions