Daniel Stutzbach <[email protected]> added the comment: On Tue, Apr 17, 2012 at 4:08 AM, Antoine Pitrou <[email protected]> wrote: > has_finalizer() in gcmodule.c doesn't check for weakref callbacks, so a > weakref callback can still be invoked from tp_dealloc.
Unless I'm mistaken, weakrefs will be handled and removed by handle_weakrefs() before delete_garbage() is called. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue9141> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
