[Python-Dev] elimination of scope bleeding ofiteration variables (original) (raw)
Delaney, Timothy (Tim) tdelaney at avaya.com
Wed May 3 00:29:43 CEST 2006
- Previous message: [Python-Dev] mail to talin is bouncing
- Next message: [Python-Dev] elimination of scope bleeding ofiteration variables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Josiah Carlson wrote:
for line in lines: line = line.rstrip() ...
Exactly the use case I was thinking of (and one I used yesterday BTW).
I'm -1 on disallowing reusing a name bound in a for loop in any construct i.e. +1 for the status quo.
Tim Delaney
- Previous message: [Python-Dev] mail to talin is bouncing
- Next message: [Python-Dev] elimination of scope bleeding ofiteration variables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]