[issue5437] Singleton MemoryError can hold traceback data and locals indefinitely

Antoine Pitrou report at bugs.python.org
Sun Mar 8 02:34:58 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

A proper fix would probably be to maintain a bunch of preallocated
instances in a freelist rather than relying on an explicit singleton. It
would enforce proper dereferencing and garbage collection semantics.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5437>
_______________________________________


More information about the Python-bugs-list mailing list