Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'python': 0.09; 'booth': 0.09; 'sep': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'memory': 0.18; 'received:209.85.214.174': 0.21; 'location,': 0.22; 'header:In- Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; "d'aprano": 0.29; 'steven': 0.29; 'objects': 0.29; "we're": 0.30; 'subject: ?': 0.30; 'addresses': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'identity': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'subject:with': 0.36; 'possible': 0.37; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'address': 0.60; 'more': 0.63; 'within': 0.64 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:to :content-type; bh=zoZGgjdFZCVDhjkq/szlEARZf4Cw8769vaQdlkGnGd0=; b=zvtkypVUyzFc5sy2z0oPJ53WsJk99btCGr4WE8gC5PpcSXNf/TsT+Hv60Y/FFx2DzQ 0xHkSzYbJ+xm12OZqQUhex67O4hkvXe7Sg36H2eQ2a+6yK1I8/Y7WEG7rwWIeZXWalt0 HNSUVkCBuUDQVbod+Zbz2edVQUe2kvRAwrsbOUwt0bPtfAu+J5SzLuUMbJeKmLltDx80 yWInZdNFM4k85u/CGg+VJjz67hU8KgfcRIPtb+u7cV2ZccFxj2x3VFUPsdJRDDLFVN9r +LCYN9TffYvxtuqx9cJNTdBNA//HLwzsNqhLE5oZBIq1JSpeKV72RoS/wkOWRFkUB0EO 4s+Q== MIME-Version: 1.0 In-Reply-To: References: <5047648f$0$29981$c3e8da3$5496439d@news.astraweb.com> Date: Thu, 6 Sep 2012 19:50:04 +1000 Subject: Re: is implemented with id ? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346925008 news.xs4all.nl 6947 [2001:888:2000:d::a6]:38315 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28565 On Thu, Sep 6, 2012 at 7:34 PM, Duncan Booth wrote: > Steven D'Aprano wrote: > >> But at any moment, any object has a specific >> location, and no other object can have that same location. Two objects >> cannot both be at the same memory address at the same time. >> > > It is however perfectly possible for one object to be at two or more memory > addresses at the same time. And of course, memory addresses have to be taken as per-process, since it's entirely possible for two processes to reuse addresses. But I think all these considerations of object identity are made with the assumption that we're working within a single Python process. ChrisA