• Tim Peters's avatar
    SF 1055820: weakref callback vs gc vs threads · ead8b7ab
    Tim Peters yazdı
    In cyclic gc, clear weakrefs to unreachable objects before allowing any
    Python code (weakref callbacks or __del__ methods) to run.
    
    This is a critical bugfix, affecting all versions of Python since weakrefs
    were introduced.  I'll backport to 2.3.
    ead8b7ab
gc_weakref.txt 11.2 KB