Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'explicitly': 0.04; 'interpreted': 0.07; 'level,': 0.07; 'variables.': 0.07; 'python': 0.09; '22,': 0.09; 'imported': 0.09; 'big,': 0.16; 'confusion': 0.16; 'oct': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'variables': 0.17; 'module': 0.19; 'variable': 0.20; 'changes': 0.20; 'sort': 0.21; 'import': 0.21; 'either.': 0.22; 'dependent': 0.23; 'header :In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'declared': 0.29; 'received:209.85.215.46': 0.30; 'code': 0.31; 'could': 0.32; 'anywhere': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'modules': 0.36; 'enough': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'more': 0.63; 'fat': 0.84; 'to:name:python': 0.84; 'dennis': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Az1H3QjG7sy8T/JYZQHirX5nTzw3MbpTr1EO4KS6umI=; b=jFA3AFf1L8zHWzZI1gQ/H2wtgy9uiHvNTXwiKOmRACW4KquCZpLLGj8lh7ewz63OKc 4icZspshdOehRYiFNSmbKZOYAgbWvuo7rDW4F5eVjIk5VFYZdIQIkR7r/kzgksQKyMG9 1sQVHfNWMzfk73Xf74rwFAw2i/ttuSJROERpVTPtIOu4T/iqSxsobNuBQtalasg8VbJY fcBUMIl4c9ssofaAw8DTRg2uxTxjga+El/e/nz3MvJhUwk0mc6CgbxQjNTe54YoHJzCR pt2A6L9Co89Dw8HQkqFf+HVttj9QHU4zh1/HgVEY/ngcnTvcJQoSipuKl15UNB2sfxXu o7SQ== MIME-Version: 1.0 In-Reply-To: References: <5083c7da$0$29978$c3e8da3$5496439d@news.astraweb.com> <508448c6$0$29978$c3e8da3$5496439d@news.astraweb.com> <5084e819$0$29897$c3e8da3$5496439d@news.astraweb.com> From: Ian Kelly Date: Tue, 23 Oct 2012 10:50:11 -0600 Subject: Re: A desperate lunge for on-topic-ness To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351011043 news.xs4all.nl 6945 [2001:888:2000:d::a6]:45778 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31942 On Mon, Oct 22, 2012 at 7:39 PM, Dennis Lee Bieber wrote: > On Mon, 22 Oct 2012 16:02:34 -0600, Ian Kelly > declaimed the following in gmane.comp.python.general: > >> On my wishlist for Python is a big, fat SyntaxError for any variable >> that could be interpreted as either local or nonlocal and is not >> explicitly declared as either. It would eliminate this sort of >> confusion entirely and make code that shadows nonlocal variables much >> more readable. >> > Which now makes code dependent upon changes to some imported modules > if someone is foolish enough to use the > > from xyz import * > > notation... It's already a SyntaxError to use a wildcard import anywhere other than the module level, so its use can only affect global variables.