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/064779.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 variablesNick Coghlan ncoghlan at gmail.com
Tue May 2 13:28:49 CEST 2006
Greg Ewing wrote:
> Josiah Carlson wrote:
>> 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?

This really seems more like the domain of pychecker/pylint rather than the 
compiler. The code may be a bad idea, but I don't see any reason to make it a 
syntax error.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
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