Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Need help understanding list structure Date: Tue, 3 May 2016 23:47:18 +1000 Lines: 19 Message-ID: References: <5727CB31.5060309@lucidity.plus.com> <85mvo8gh57.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de cLoMPN4RudzXbNUUkzKaKA8LCCodvVwSluoj4uUgAbZQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:help': 0.07; 'cc:addr:python-list': 0.09; 'objects.': 0.09; 'pointers': 0.09; 'python': 0.10; 'python.': 0.11; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'matters,': 0.16; 'objects;': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'basically': 0.18; 'tells': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'object.': 0.22; 'references': 0.23; 'header:In-Reply-To:1': 0.24; 'subject:list': 0.26; 'figure': 0.27; 'message-id:@mail.gmail.com': 0.27; 'pieces': 0.27; 'quoting': 0.29; 'searches': 0.29; 'subject:skip:u 10': 0.29; '[1]': 0.32; 'point': 0.33; 'tue,': 0.34; 'that,': 0.34; 'list': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'nothing.': 0.35; "isn't": 0.35; 'but': 0.36; 'list,': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'thanks': 0.37; 'beyond': 0.37; 'received:209': 0.38; 'anything': 0.38; 'someone': 0.38; 'data': 0.39; "you'll": 0.61; 'address': 0.61; 'skip:u 10': 0.61; 'default': 0.61; 'subject:Need': 0.61; 'within': 0.64; 'books.': 0.84; 'chrisa': 0.84; 'replies.': 0.84; 'to:none': 0.91; 'luck': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=w5eFl/Jr2G/kWQb9M0XIOptqaDDvU6nrWZttVF8j7nI=; b=J4TJcbcMsGpXnvcdFAoraXay7TcZb8ARgt+k04QWoXstXKDGtduaG8KQnP1JTFJ4dY XdlDorqsC+trqPCALvCyJRSJpaylSf0y3e3n1K+Rn36lXHChjWUgg726lVfZOjNPPMm6 M0nf3WMbkaa9Z4tBnXlj1g114vAqIU5paOe7uXXSqrpmzTm8SbVyQDDVbKIAERN+LnBV WHiFD0WwRKfN6Si4uO59ngpzUMv/Xt++YBPF2IPRubUZP8ZVftI/DE0ZgW0Uwj+l2/uA SKmZwfAyO+0QumOmKadk0XR8xGIrq7nGk8+kHPv/rD7DRyaA1KK0J/UVhuen2fCp/Izl wD0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=w5eFl/Jr2G/kWQb9M0XIOptqaDDvU6nrWZttVF8j7nI=; b=PUjN8V6Se20HtPBE//MPKqZ8Qu6cWgVzVQbb0nvMLJHxP2Hf16XXoyHjl34UxgIOmY i3GYh9+kvZW4w5xwMrnO+Rhk44bL0eUNp4loTM6QjTPvDRUtMDrbLQM7gCeN6gpayTwO m5X+qE8m8GWZijcmymJJX4B9qgifjgCBIMKGAc4cQdXXQrWQB8+6pNXPQSBjj6xRFaS5 FhiZIzOgHZGETWj7fXr9tMXOrj7tLtFB3EEn7cPfvFMGu7Ya+UnHKcxnPBn2lAR6PYNO NTwrnkwcqaVqMXaVywEF+VxkI5+KZQTHcTCmgd0LYbPGMNuaiqAbnXgzrVzG0Y06Q7Qc lhJg== X-Gm-Message-State: AOPr4FUtRzm0Cym07hBTOEOMBi9crCD9wNGOGUW8V+nLE44yNHHUUrMTrGPagKYr+wwwm3CW2mFNIBtVX+1CLg== X-Received: by 10.107.137.166 with SMTP id t38mr3429559ioi.31.1462283238595; Tue, 03 May 2016 06:47:18 -0700 (PDT) In-Reply-To: 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: X-Mailman-Original-References: <5727CB31.5060309@lucidity.plus.com> <85mvo8gh57.fsf@benfinney.id.au> Xref: csiph.com comp.lang.python:108071 On Tue, May 3, 2016 at 11:21 PM, wrote: > Thanks for the replies. I definitely need a better understanding of "" when using Python objects. So far no luck with web searches or my Python books. Could someone point (no pun intended) me to a good resource? > > Not that it matters, but the reason I got off track is there are pointers within my data that point to other pieces of the data and have nothing to do with Python. What you're seeing there is the default object representation. It isn't actually quoting an address but an "identity number". The only meaning of that number is that it's unique [1]; so if you see the same number come up twice in the list, you can be confident that the list has two references to the same object. Beyond that, it basically tells you nothing. So you know what kind of object it is, but anything else you'll have to figure out for yourself. ChrisA [1] Among concurrently-existing objects; if an object disappears, its ID can be reused.