Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'method.': 0.07; 'variables': 0.07; 'method,': 0.09; 'received:internal': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'subject:class': 0.16; 'variables,': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'visible': 0.24; 'mon,': 0.24; 'regardless': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; "doesn't": 0.30; 'sep': 0.31; 'subject:skip:i 10': 0.31; 'class': 0.32; 'supposed': 0.32; 'received:66': 0.35; 'but': 0.35; 'received:10': 0.37; 'pm,': 0.38; 'does': 0.39; 'how': 0.40; 'dave': 0.60; 'from:no real name:2**0': 0.61; 'course': 0.61; "you're": 0.61; 'header:Message-Id:1': 0.63; 'different': 0.65; '30,': 0.65; 'within': 0.65; 'details:': 0.80; 'batchelder': 0.84; '2013,': 0.91; 'angel': 0.91 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:from:to:cc:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= vZ5PJulWx7r6zyP8xVkJKVqHBFg=; b=cQqPvz9yg45JYlABHD5RmtVPC9Mk1+// 38/jjwylFpJ605yoV8QkJocZqAb21HU9rVVGv8TdgHWcL0TrT59S2lBG/RYog4Ng GlHC3u/UDblvHtfJGvFzqgXR9KaHZOatH0g+C5Cb6wzDD7bWnGnb19sC1PlU/rJq rJwR0NH86aw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:cc:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=vZ5PJulWx7r6zyP8xVkJKVqHBFg=; b=EzU /AcSLXNDdNWcy1fwPcfd1V/WzDncJ0vkSPSa3EZPbF0UWQ5SF24gZYlhOUBj/P+e BjWSF4dn0fZcJh3G28sh9svLAb9/TmZbVbCwY9VWGIUelGojOJydjepdmp62Fdre Yls50nOZH7LHLDVeZxmONQiIkBNXeannFHexHcKA= X-Sasl-Enc: X3m5tmkEnLaiwWfqfHp2vwAZPe19wyZBM/OOOLgoCVXy 1380577755 From: random832@fastmail.us To: Ned Batchelder , Dave Angel MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-ce174988 In-Reply-To: <5249ECFE.2050402@nedbatchelder.com> References: <6e338858-b9e6-4745-9959-35d7c0c7724e@googlegroups.com> <02724244-c924-4cf0-9656-71ade6e435c2@googlegroups.com> <5249ECFE.2050402@nedbatchelder.com> Subject: Re: class implementation Date: Mon, 30 Sep 2013 17:49:15 -0400 Cc: python-list@python.org 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380577759 news.xs4all.nl 15944 [2001:888:2000:d::a6]:45768 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55122 On Mon, Sep 30, 2013, at 17:28, Ned Batchelder wrote: > On 9/30/13 3:34 PM, Dave Angel wrote: > > Python doesn't actually have variables, but the things it documents as > > variables are local names within a method. Those are not visible > > outside of the method, regardless of whether you're in a class or a > > subclass. > > Why does this meme persist!? Of course Python has variables, they just > don't work like C variables do. If you'd like to know the details: > http://nedbatchelder.com/text/names.html Wait a minute, how exactly are C variables supposed to be different from this?