Path: csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.04; '*you*': 0.09; 'denoted': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'sun,': 0.09; '"d",': 0.16; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'name"': 0.16; 'received:66.245': 0.16; 'received:dsl.mindspring.com': 0.16; 'received:mindspring.com': 0.16; 'received:wlfraed': 0.16; 'sublist': 0.16; 'tempted': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'lee': 0.22; 'gregory': 0.23; 'index': 0.25; 'url:home': 0.25; 'subject:data': 0.26; 'object': 0.27; 'subject:?': 0.29; 'list': 0.30; 'ewing': 0.31; 'to:addr:python-list': 0.32; 'header:X -Complaints-To:1': 0.34; 'subject:What': 0.35; 'subject:use': 0.35; 'list,': 0.36; 'charset:us-ascii': 0.36; 'element': 0.38; 'represents': 0.38; 'happens': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'header:Mime-Version:1': 0.39; 'would': 0.40; 'header:Received:5': 0.40; '2011': 0.62; 'upon': 0.63; 'interest': 0.65; 'dennis': 0.68; 'partially': 0.84; 'subject:other': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: What other languages use the same data model as Python? Date: Sat, 07 May 2011 23:16:48 -0700 Organization: > Bestiaria Support Staff < References: <4dbd1dbf$0$29991$c3e8da3$5496439d@news.astraweb.com> <77f64071-b288-404c-8280-b2c61ba77f06@n10g2000yqf.googlegroups.com> <4dc12fb4$0$29991$c3e8da3$5496439d@news.astraweb.com> <87mxj2f8f4.fsf@benfinney.id.au> <4dc2c582$0$29991$c3e8da3$5496439d@news.astraweb.com> <92kjooF31mU1@mid.individual.net> <87aaeymfww.fsf@benfinney.id.au> <92m0u4Fkl5U1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: user-11fa51f.dsl.mindspring.com X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 33 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1304835421 news.xs4all.nl 81478 [::ffff:82.94.164.166]:59607 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4944 On Sun, 08 May 2011 10:54:57 +1200, Gregory Ewing declaimed the following in gmane.comp.python.general: > > What would *you* call a[i]? > Depending upon the nature of the beast, I'd be tempted to call it a "fully qualified name" or a "partially qualified name" a = [1, 2, 4, ("c", "d", "e")] a is fully qualified if the object of interest is the entire list [1, 2, 4, ["c", "d", "e"]] it is partially qualified when the object of interest is an element of the list a[i] is fully qualified if "i" represents an index of 0..3 and one is interested in any single element of the list, including the sublist as a whole it is partially qualified if "i" represents the index 3 AND one is interested in an element of the sublist. a[1] = 10 binds the fully qualified name "a[1]" to the object representing "10". This just happens to also mutate the object denoted by the partially qualified name "a". -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/