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/064778.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 variablesGreg Ewing greg.ewing at canterbury.ac.nz
Tue May 2 13:13:56 CEST 2006
Josiah Carlson wrote:

>     for line in lines:
>         line = line.rstrip()
>         ...
> 
> I'm generally -0 on the "raise a SyntaxError" in this particular case,

That's a good point. I'm inclined to agree.
I think I might have even done something like
that recently, but I can't remember the
details.

> and am +0 on the double use below:
> 
>     for x in y:
>         for x in z:

Can anyone think of a plausible use case for that?

--
Greg
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