[Python-ideas] Deterministic iterator cleanup

Random832 random832 at fastmail.com
Wed Oct 19 12:38:51 EDT 2016


On Wed, Oct 19, 2016, at 11:51, Yury Selivanov wrote:
> I'm -1 on the idea.  Here's why:
> 
> 
> 1. Python is a very dynamic language with GC and that is one of its 
> fundamental properties.  This proposal might make GC of iterators more 
> deterministic, but that is only one case.

There is a huge difference between wanting deterministic GC and wanting
cleanup code to be called deterministically. We're not talking about
memory usage here.


More information about the Python-ideas mailing list