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

Antoine Pitrou report at bugs.python.org
Thu Oct 29 22:22:45 CET 2009


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

Here is a patch preallocating a freelist of MemoryErrors.

To Alexandre: yes, PyExc_RecursionErrorInst probably has the same problem.

----------
versions: +Python 3.2 -Python 3.0
Added file: http://bugs.python.org/file15230/memerror.patch

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


More information about the Python-bugs-list mailing list