Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Antoon Pardon Newsgroups: comp.lang.python Subject: Re: the global keyword: Date: Tue, 21 Jun 2016 10:08:41 +0200 Lines: 31 Message-ID: References: <5766ADB1.6070907@rece.vub.ac.be> <5767D023.3000708@rece.vub.ac.be> <5767de77$0$1604$c3e8da3$5496439d@news.astraweb.com> <1466429357.2588517.642905033.340E5404@webmail.messagingengine.com> <5768035d$0$1622$c3e8da3$5496439d@news.astraweb.com> <5768F609.2020508@rece.vub.ac.be> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 7yflfYl/r3j2LS9O3xAsdg6RFKgdjcDvg3OL8rylWglA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '(except': 0.05; 'received:134': 0.05; 'correct.': 0.07; 'imply': 0.07; 'semantic': 0.07; 'bindings': 0.09; 'thread': 0.10; '2016': 0.16; 'defended': 0.16; 'hypothetical': 0.16; "others'": 0.16; 'received:ac.be': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'say.': 0.16; 'thread.': 0.16; 'two.': 0.16; 'wrote:': 0.16; '>>>': 0.20; 'header:In-Reply-To:1': 0.24; 'discussion': 0.24; 'mon,': 0.24; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'earlier': 0.27; 'point.': 0.27; 'references.': 0.29; 'connection': 0.30; 'received:be': 0.30; 'anyone': 0.32; 'says': 0.32; 'maybe': 0.33; "d'aprano": 0.33; 'instances': 0.33; 'rule': 0.33; 'steven': 0.33; 'except': 0.34; "isn't": 0.35; 'but': 0.36; 'there': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'say': 0.37; 'someone': 0.38; 'why': 0.39; 'does': 0.39; 'subject:the': 0.39; "didn't": 0.39; 'to:addr:python.org': 0.40; 'him': 0.60; 'claim': 0.61; 'is.': 0.63; 'between': 0.65; '20,': 0.66; 'binding': 0.66; 'contrary': 0.72; 'introduce': 0.79; "d'aprano:": 0.84; 'schreef': 0.84; 'subject::': 0.85; 'absolutely': 0.88; '"that\'s': 0.91 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMIAHYeUleGuA9G/2dsb2JhbABehFsBvRCGEgKCAAEBAQEBAWaEbAEBAQMBI1UGCwsYAgIFFgsCAgkDAgECAUUTCAKIIwixTY0+g1sBAQgCJYEBhSaETYUMgjWCWQEEjWaKX4FXjE2JM4Vpj1JUg3CKfgEBAQ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 In-Reply-To: <5768035d$0$1622$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <5768F609.2020508@rece.vub.ac.be> X-Mailman-Original-References: <5766ADB1.6070907@rece.vub.ac.be> <5767D023.3000708@rece.vub.ac.be> <5767de77$0$1604$c3e8da3$5496439d@news.astraweb.com> <1466429357.2588517.642905033.340E5404@webmail.messagingengine.com> <5768035d$0$1622$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:110220 Op 20-06-16 om 16:53 schreef Steven D'Aprano: > On Mon, 20 Jun 2016 11:29 pm, Random832 wrote: > >> On Mon, Jun 20, 2016, at 08:15, Steven D'Aprano wrote: >>> Bart didn't say anyone had defended it. He made an observation: >>> >>> "that's a good illustration of why 'y' isn't a name reference to 'x'" >>> >>> which is factually correct. And this does refer to the "ducks limp" >>> thread. >> Except it doesn't. Because no-one on that thread made the claim that it >> is. There's absolutely nothing in the thread (except maybe earlier >> instances of him and you misrepresenting others' claims) about 'y' being >> a name reference to 'x', so there's nothing in that thread for it to >> reasonably refer to. > The thread is a discussion about name binding and references. And what do > you know, the hypothetical "name y is a reference to name x" is, amazingly, > about name binding and references! Hence the connection between the two. But being about name bindings and reference doesn't imply it is about name references. > You know, there's not actually a rule or law that says you have to > automatically take the contrary position to everything I say. There is also not a rule of law that says you have to automatically introduce semantic games into the discussion when someone else might have a point. -- Antoon.