Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'explicitly': 0.04; '(especially': 0.07; 'interpreted': 0.07; 'python': 0.09; 'imported': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'gui': 0.11; 'tutorials': 0.15; 'big,': 0.16; 'confusion': 0.16; 'illustrate': 0.16; 'notation,': 0.16; 'oct': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'mon,': 0.16; 'variables': 0.17; 'variable': 0.20; 'changes': 0.20; 'sort': 0.21; 'import': 0.21; 'either.': 0.22; 'suddenly': 0.22; "i'd": 0.22; 'dependent': 0.23; 'third-party': 0.23; 'header:X-Complaints-To:1': 0.28; 'declared': 0.29; 'code': 0.31; 'could': 0.32; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'received:org': 0.36; 'but': 0.36; 'modules': 0.36; 'charset:us- ascii': 0.36; 'enough': 0.36; '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; 'dennis': 0.91; 'dozens': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: A desperate lunge for on-topic-ness Date: Mon, 22 Oct 2012 21:39:39 -0400 Organization: > Bestiaria Support Staff < 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-249-28-69.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350956397 news.xs4all.nl 6856 [2001:888:2000:d::a6]:52357 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31913 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... I'd be very displeased if working code with local names suddenly fails because some third-party package was updated. Yes, I prefer not to use the "from...*" notation, but how many tutorials (especially of GUI toolkits, with their dozens of constants) illustrate using the wildcard? -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/