Antoine Pitrou <pit...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5437> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com