New submission from Christian Heimes: The patch implements gc.compact_freelists() which calls PyInt and PyFloat_CompactFreeList(). I've moved the code from the _Fini methods to the _CompactFreeList() methods.
The patch also moves the clear type cache function to gc.clear_type_cache(). ---------- assignee: nnorwitz components: Extension Modules, Interpreter Core files: trunk_compact_freelist.patch keywords: patch messages: 61771 nosy: nnorwitz, tiran priority: normal severity: normal status: open title: gc.compact_freelists type: rfe versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file9308/trunk_compact_freelist.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1953> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com