Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsfeed.xs4all.nl!newsfeed1.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.039 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'differently': 0.07; 'variables': 0.07; 'variables.': 0.09; 'python': 0.11; "wouldn't": 0.14; 'behave': 0.16; 'bind': 0.16; 'containers': 0.16; 'lisp': 0.16; 'objects.': 0.16; 'received:192.168.1.4': 0.16; 'variables,': 0.16; 'memory': 0.22; 'saying': 0.22; 'header:User- Agent:1': 0.23; "haven't": 0.24; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; "doesn't": 0.30; 'locations': 0.30; 'work.': 0.31; 'that.': 0.31; 'names.': 0.31; 'anyone': 0.31; 'this.': 0.32; 'problem': 0.35; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'opposed': 0.36; 'subject:?': 0.36; 'list': 0.37; 'to:addr :python-list': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'real': 0.63; 'here': 0.66; 'fact,': 0.69; 'afaics': 0.84; 'pardon': 0.84; 'received:195.238': 0.84; 'received:195.238.6': 0.84; 'received:belgacom.be': 0.84; 'received:isp.belgacom.be': 0.84 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjcDABARz1FbtrYE/2dsb2JhbAANTcAqgmYDAYEWgxgBAQQ4QBELIRYPCQMCAQIBRRMIArB/iVaIB453ZhaDUQOXRZRY Date: Sat, 29 Jun 2013 19:02:01 +0200 From: Antoon Pardon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Closures in leu of pointers? References: <2a2072e3-4b12-4ada-872c-1240d2379928@googlegroups.com> <51CEE8E9.4070703@gmail.com> In-Reply-To: <51CEE8E9.4070703@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372525392 news.xs4all.nl 15989 [2001:888:2000:d::a6]:50027 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49435 Op 29-06-13 16:02, Michael Torrie schreef: > > The real problem here is that you don't understand how python variables > work. And in fact, python does not have variables. It has names that > bind to objects. I don't understand why members of this list keep saying this. Sure the variables in python behave differently than those in C and algol But they behave similarly as those in smalltalk and lisp and I haven't seen anyone claim that smalltalk and lisp don't have variables. We might as well say that C doesn't have variables, it has names pointing to memory locations or value containers or something like that. AFAICS there is no reason why "variable" wouldn't be appropiate for python names as opposed to C names. -- Antoon Pardon