2020-09-22 17:18:08 UTC
reference-counting scheme with (optional) delayed detection of
cyclically linked garbage, which collects most objects as soon as they
become unreachable, but is not guaranteed to collect garbage containing
circular references. See the documentation of the gc module for
information on controlling the collection of cyclic garbage. Other
implementations act differently and CPython may change. Do not depend on
immediate finalization of objects when they become unreachable (ex:
always close files).
Translation into plain English: Due to ideological blindless, our
automatic resource management system does not and won't ever support
automatically manageing anything but memory. That's fine as we duly
believe that anything but memory is magical and that the same, eternally
fallible humans we claim to be incapable of manageing memory correctly
will always manage everything else correclty.
It's really a matter of naming, as with all magic: If a set of functions
is called malloc and free, using them correctly is impossible. If
they're called open and close (or lock and unloch) using them
incorrectly is impossible!
On towards another 70 years of fiddling with tracing collectors !!
Nothing else matters !!!