[Python-Dev] Product iteration
Jeremy Hylton
jeremy@beopen.com
Tue, 25 Jul 2000 18:15:31 -0400 (EDT)
>>>>> "AMK" == Andrew Kuchling <akuchlin@mems-exchange.org> writes:
AMK> On Tue, Jul 25, 2000 at 06:08:18PM -0400, Eric S. Raymond
AMK> wrote:
>> Wrong answer. The right answer is to fix lambda (or some variant
>> of lambda) to be a true lexical closure.
AMK> Hm... hmmmm... fixing this has been suggested before, but
AMK> always foundered on the fact that creating a closure required a
AMK> cycle, which would leak memory. Now we have an optional GC
AMK> that should handle this, so maybe fixing it can be revisited.
AMK> (But this would mean that GC is essentially no longer optional
AMK> -- maybe too radical a thing to do before we're sure about the
AMK> new GC. 2.1, maybe?)
I was thinking this would be a post 2.0 PEP.
Jeremy