Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ethan Furman Newsgroups: comp.lang.python Subject: Re: Bulk Adding Methods Pythonically Date: Thu, 16 Jun 2016 12:58:58 -0700 Lines: 14 Message-ID: References: <5761A678.8010003@stoneleaf.us> <1466093708.1546731.639770593.4D6E2982@webmail.messagingengine.com> <20160616195858.GA5268@stoneleaf.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.uni-berlin.de 2ktjPapC3OOFk1Tofeeg+AovYLPkiury8r/++ceKfr/Q== 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; 'chime': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'namespace': 0.09; 'wed,': 0.15; 'opened.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Adding': 0.16; 'text?': 0.16; 'wrote:': 0.16; 'language': 0.19; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; '~ethan~': 0.29; '15,': 0.30; '[1]': 0.32; 'class': 0.33; 'url:python': 0.33; 'steven': 0.33; "i'll": 0.33; 'skip:d 20': 0.34; 'clear': 0.35; 'returning': 0.35; "isn't": 0.35; 'url:org': 0.36; 'url:library': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'to:addr:python.org': 0.40; 'still': 0.40; 'url:3': 0.60; 'gaurantee': 0.84; 'url:functions': 0.84; 'ethan': 0.91; 'furman': 0.91 Mail-Followup-To: python-list@python.org Content-Disposition: inline In-Reply-To: <1466093708.1546731.639770593.4D6E2982@webmail.messagingengine.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: <20160616195858.GA5268@stoneleaf.us> X-Mailman-Original-References: <5761A678.8010003@stoneleaf.us> <1466093708.1546731.639770593.4D6E2982@webmail.messagingengine.com> Xref: csiph.com comp.lang.python:110036 On 06/16, Random832 wrote: > On Wed, Jun 15, 2016, at 15:03, Ethan Furman wrote: >> [1] https://docs.python.org/3/library/functions.html#locals >> Yes, returning the class namespace is a language gaurantee. > > How do you get a guarantee from that text? Oops, my bad -- the gaurantee is in the vars() description on the same page... although that still isn't very clear about during-class-construction; okay, I'll have to chime in on the issue Steven opened. -- ~Ethan~