◐ Shell
clean mode source ↗

Message 150275 - Python tracker

I don't know what the purpose of this feature is nor who the target users are. Trying to micro-manage the interpreter's resource allocation from Python code is certainly a losing battle, and does not warrant relying on implementation-specific APIs. Moreover, these days gc.collect() implicitly collects the freelists.

I therefore recommend rejecting this patch.