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/064771.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 variablesJosiah Carlson jcarlson at uci.edu
Tue May 2 10:09:40 CEST 2006
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 
> Delaney, Timothy (Tim) wrote:
> 
> > So would this also be a SyntaxError?
> > 
> >     for x in stuff:
> >         x = somethingelse
> 
> That would be something to be debated. I don't
> really mind much one way or the other.


    for line in lines:
        line = line.rstrip()
        ...

I'm generally -0 on the "raise a SyntaxError" in this particular case,
and am +0 on the double use below:

    for x in y:
        for x in z:


 - Josiah

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