Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!newsfeeder.ewetel.de!newsfeed.xs4all.nl!newsfeed4.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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:IDLE': 0.04; '22,': 0.09; 'editor.': 0.09; 'python': 0.11; 'bug': 0.12; 'windows': 0.15; 'created.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'outdated': 0.16; 'sense,': 0.16; 'subject:too': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'typing': 0.19; 'versions': 0.24; 'looks': 0.24; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'url:bugs': 0.29; 'am,': 0.29; 'mode': 0.30; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'linux': 0.33; 'url:python': 0.33; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'idle': 0.36; 'doing': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'should': 0.36; 'too': 0.37; 'sometimes': 0.38; 'confirmed': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'affected.': 0.84; 'heh.': 0.84; 'otten': 0.84; 'subject:being': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Z5zrKz1xUG8szTbe2TLUDzAHTJsaG4zHds+Yt9A5juA=; b=dleHCGab1mV/EV17MmNkBXHQo+jRMBFPTy9DZPF9VzOeJq1oJ/scy/6VP6spY5pyqg agsyZJUNbJFNqVzB5U3/D9NuT8nJ6ZunsMIc58tkr3ppyS5yRBmSQlA0FwGNDZazwqeQ Jye0oKkuk9u0WWRQJDIhDRmWrXQNEsECJ1e4PUqqHq/qXTbWO+eTb0UqEnb3CcVlvtnQ cltBrR7Ge9EXBjIThhCyPWNp+pKEVAK90AkxMS3rn95424Fkls9GpMBRVBiV35+gK9/M IDylHHZEXdwrfIKod8c2JQKOEEmEhIjTYoiLY5a0IScdZaSRISq1Lg+r9OANMkzGNqHR J3vg== MIME-Version: 1.0 X-Received: by 10.68.129.163 with SMTP id nx3mr18106025pbb.84.1382373071478; Mon, 21 Oct 2013 09:31:11 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Oct 2013 03:31:11 +1100 Subject: Re: IDLE being too clever checking nonlocal declarations? From: Chris Angelico To: python-list@python.org 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382373075 news.xs4all.nl 15964 [2001:888:2000:d::a6]:36842 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57198 On Tue, Oct 22, 2013 at 3:09 AM, Peter Otten <__peter__@web.de> wrote: > Chris Angelico wrote: >> But typing this into IDLE interactive mode requires some fiddling >> around with the editor. Is it trying to be too clever? Am I doing >> something that makes no sense? > > Yes, but you should still file a bug report ;) Heh. I like doing things that make no sense, sometimes :) >> Tested with 3.3.0 on Windows XP. > > Confirmed on Linux for 3.2.2, 3.3.0, and an outdated built of 3.4. It looks > like all versions of Python 3 are affected. Thanks for the confirmation. http://bugs.python.org/issue19335 created. ChrisA