Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 7, 2020

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()).

https://bugs.python.org/issue40887

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()).
@vstinner vstinner requested a review from 1st1 as a code owner June 7, 2020 23:37
@vstinner vstinner merged commit bcb1983 into python:master Jun 8, 2020
@vstinner vstinner deleted the free_list_check branch June 8, 2020 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants