This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients corona10, vstinner
Date 2020-06-05.09:47:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> bpo-40521: Make list free list per-interpreter (GH-20642)

This change contains an interesting fix:

* _PyGC_Fini() clears gcstate->garbage list which can be stored in
  the list free list. Call _PyGC_Fini() before _PyList_Fini() to
  prevent leaking this list.

Maybe "Fini" functions should disable free lists to prevent following code to add something to a free list, during Python finalization.
Date User Action Args
2020-06-05 09:47:04vstinnersetrecipients: + vstinner, corona10
2020-06-05 09:47:04vstinnersetmessageid: <>
2020-06-05 09:47:03vstinnerlinkissue40521 messages
2020-06-05 09:47:03vstinnercreate