Paul Rubin wrote:
Terry Reedy <tjre...@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.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to