A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/064801.html below:

[Python-Dev] elimination of scope bleeding ofiteration variables

[Python-Dev] elimination of scope bleeding ofiteration variables [Python-Dev] elimination of scope bleeding ofiteration variablesDelaney, Timothy (Tim) tdelaney at avaya.com
Wed May 3 00:29:43 CEST 2006
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 *dis*allowing reusing a name bound in a for loop in any
construct i.e. +1 for the status quo.

Tim Delaney
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4