Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.05; 'argument,': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; '(another': 0.16; '23,': 0.16; 'closures': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; 'basically': 0.18; 'odd': 0.18; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'am,': 0.23; '2015': 0.23; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.28; 'specifically': 0.28; 'subject:other': 0.29; 'certain': 0.31; 'subject:all': 0.32; 'retain': 0.33; 'received:google.com': 0.34; 'but': 0.36; 'subject:: ': 0.37; 'rather': 0.38; 'expect': 0.39; 'method': 0.39; 'to,': 0.63; 'state,': 0.66; 'subject:have': 0.80; 'chrisa': 0.84; 'subject:you': 0.88; 'to:none': 0.90; 'edwards': 0.91 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:cc :content-type; bh=RfLzOKdiHXxqnGfaVTLLVQUW/XAZjs++ylFRbIvPQlI=; b=UUTpQd4pqrCrOk0VK5eR5OY8e+hb8ajT7lvUXYqTxv8DxQBZz42lRsIk2remr3DutL mg08Gt4y3oxM8xq9wBCqrmGufab6AnIGTcfaasf1tVaHfOri/3yme9W1tXcjROg6jztS VRA4qw+p90K/XfD2n8mUy5azM/wTz5kWPHCBaeSbkpcvJhhRXB+eFFFDp5DTdFlMbONs lJiwabDoAYHqVs/KUd3/UNIwMT2r6UiAumY7ce+DA2cl90AGkEY6MaaLV+yeQoZvt2x8 Bo/MsCyYm6eyOwizADbVuysQ8LNsw8mgM+q4/5qdRz7FjgTqrRbvrT6y2xkfsoDyXZh+ 6wGg== MIME-Version: 1.0 X-Received: by 10.43.39.1 with SMTP id tk1mr10834011icb.26.1432318288917; Fri, 22 May 2015 11:11:28 -0700 (PDT) In-Reply-To: References: <555f440a$0$12990$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 23 May 2015 04:11:28 +1000 Subject: Re: Ah Python, you have spoiled me for all other languages From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432318291 news.xs4all.nl 2918 [2001:888:2000:d::a6]:40100 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91060 On Sat, May 23, 2015 at 3:47 AM, Grant Edwards wrote: > * When used in a browser, the rather odd meanings of 'this' in > certain situations. Yes. Closures can retain state exactly the way you'd expect them to, yet what Python would call a bound method (another way of retaining state, specifically the object before the dot) is just... a function. I find this nothing but bizarre. It basically demotes 'this' to the position of any other argument, only it's implicit. ChrisA