• Pablo Galindo's avatar
    Clean weakrefs before calling user's dealloc · 82b029b3
    Pablo Galindo authored
    We must clean the weakreferences before calling the user's __dealloc__
    because if the __dealloc__ releases the GIL, a weakref can be
    dereferenced accessing the object in an inconsistent state or
    resurrecting it.
    82b029b3
ModuleNode.py 139 KB