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 vstinner
Date 2019-11-22.18:41:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The PyUnicode_ClearFreeList() function does nothing since Python 3.3, since this change:

commit d63a3b8beb4a0841cb59fb3515347ccaab34b733
Author: Martin v. Löwis <>
Date:   Wed Sep 28 07:41:54 2011 +0200

    Implement PEP 393.

I propose attached PR to remove the function.

It seems like the function is part of the limited API and exported by PC/python3.def. But I don't see any usecase to explicitly clear the unicode freelist. Call gc.collect() to clear all free lists: no private API is needed.
Date User Action Args
2019-11-22 18:41:13vstinnersetrecipients: + vstinner
2019-11-22 18:41:13vstinnersetmessageid: <>
2019-11-22 18:41:13vstinnerlinkissue38896 messages
2019-11-22 18:41:12vstinnercreate