Amaury Forgeot d'Arc <amauryfa <at> gmail.com> writes:
> 
> I corrected this with r65341.
> But this prebuilt MemoryError has another nasty consequence:
> when PyErr_NoMemory is raised, the traceback is attached to the
> prebuilt object,
> and all local variables of the failing procedure are still referenced
> and will not be freed.

I suppose this prebuilt MemoryError isn't very multithreading-friendly either...
How about using a preallocated freelist scheme instead?



_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to