Set & Frozenset?

Terry Reedy tjreedy at udel.edu
Tue Mar 10 16:52:29 EDT 2009


Paul Rubin wrote:
> Terry Reedy <tjreedy at udel.edu> writes:
>>> I'd never expect that for-loop assignment is even faster than a
>>> precreated iter object (the second test)... but I don't think this
>>> for-looping variable leaking behavior is guaranteed, isn't it?
>> It is an intentional, documented feature: ...
> 
> I prefer thinking of it as a documented bug.  It is fixed in 3.x.

Nope to both. We are talking about for-loop statements.




More information about the Python-list mailing list