• Tim Peters's avatar
    SF 1055820: weakref callback vs gc vs threads · 7d37a2a5
    Tim Peters yazdı
    In cyclic gc, clear all 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.
    7d37a2a5
test_gc.py 17 KB