Skip to content
  • Armin Rigo's avatar
    Restore semblance of sanity to gc.disable()/gc.enable(): now they · 88006cd809de
    Armin Rigo authored
    don't usually prevent running finalizers, but they will prevent
    some explicitly-defined ones to run:
    
    * all user __del__
    * weakref callbacks
    
    They don't prevent RPython-level things like closing files, and also, by
    default, they don't prevent calls in other situations, like cffi's
    'ffi.gc()'.
    
    --HG--
    branch : use-gc-del-3
    88006cd809de