Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'referring': 0.07; 'high- level': 0.09; 'strings.': 0.09; 'python': 0.11; 'language,': 0.12; 'clear.': 0.16; 'dict': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'wrote:': 0.18; "python's": 0.19; 'header:User-Agent:1': 0.23; 'apply.': 0.24; 'header:In- Reply-To:1': 0.27; 'idea': 0.28; "doesn't": 0.30; 'primarily': 0.30; "d'aprano": 0.31; 'int,': 0.31; 'steven': 0.31; 'lists': 0.32; 'basic': 0.35; 'etc': 0.35; 'objects': 0.35; 'really': 0.36; 'subject:?': 0.36; 'being': 0.38; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'more': 0.64; 'double,': 0.84; 'float,': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Sat, 29 Jun 2013 16:02:20 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/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> <51CF1309.1010504@rece.vub.ac.be> <51cf332f$0$29999$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <51cf332f$0$29999$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372543351 news.xs4all.nl 15939 [2001:888:2000:d::a6]:49173 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49467 On 06/29/2013 01:19 PM, Steven D'Aprano wrote: > Python's basic data types are not necessarily immutable. Lists and dicts > are not immutable. Being a high-level language, the idea of "primitives" > like int, double, float, etc from C doesn't really apply. A Python dict > is not made up from Python ints. Both int and dict are equally "basic". Indeed. Sorry for not being more clear. I was referring primarily to numeric objects and strings.