New submission from STINNER Victor <vstin...@python.org>:

The PyUnicode_ClearFreeList() function does nothing since Python 3.3, since 
this change:

commit d63a3b8beb4a0841cb59fb3515347ccaab34b733
Author: Martin v. Löwis <mar...@v.loewis.de>
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.

----------
components: Interpreter Core
messages: 357312
nosy: vstinner
priority: normal
severity: normal
status: open
title: Remove PyUnicode_ClearFreeList() function
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38896>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to