Christian Heimes added the comment: The behavior is documented in the C code. I don't know how it is described in the docs.
Objects/typeobject.c around line 820 says: /* If we added a weaklist, we clear it. Do this *before* calling the finalizer (__del__), clearing slots, or clearing the instance dict. */ ---------- nosy: +tiran priority: -> normal resolution: -> wont fix status: open -> pending __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1918> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com