On Wed, 8 Apr 2020 10:18:47 -0700
Guido van Rossum
But when I leave "large" temp objects hanging and give a rip, I already stick in "del" statements anyway. Very rarely, but it happens.
I recall that in the development of asyncio there were a few places where we had to insert del statements, not so much to free a chunk of memory, but to cause some destructor or finalizer to run early enough. (IIRC not right at that moment, but at some later moment even if some Futures are still alive.) Those issues took considerable effort to find, and would conceivably have been prevented by this proposal.
If code relies on life variable analysis for correctness, it implies other Python implementations must implement it with exactly the same results. Regards Antoine.