Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19199

Re: access address from object and vice versa

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <chris@rebertia.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:object': 0.07; '21,': 0.09; 'subject:access': 0.09; 'heavily': 0.15; 'subject:address': 0.15; 'cc:addr:python-list': 0.15; 'cpython,': 0.16; 'wrote:': 0.16; 'jan': 0.19; 'cheers,': 0.20; 'later': 0.21; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'asked': 0.23; 'cc:2**0': 0.25; 'sat,': 0.25; 'pm,': 0.26; 'received:209.85.220': 0.27; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'chris': 0.30; 'object': 0.33; 'but': 0.37; 'received:google.com': 0.37; 'happens': 0.37; 'received:209.85': 0.38; 'possible.': 0.39; 'subject:from': 0.39; 'received:209': 0.39; 'subject:: ': 0.39; 'address': 0.61; 'why?': 0.77; 'sender:addr:chris': 0.84; 'mere': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc :x-gm-message-state:content-type; bh=xQdTZEpEUfKOCUsOo9NMspuJV8BJ8wR6661pDkywYXA=; b=XhpBK33woTQm7KoqXFqUdTc6Qvj8retnY7zk+BgagHqvSZvWTMExqwUnH0zep7XcBs qX4sNobwXk9LpOYB81kN7ipj0Zitq91thvZcKLBUX7WIBQOtu/u5RzdzNs2zE4HksF3r sntpGMv7agEbaCQBH7Bp7KcsXD8HxwQF4/LUk=
MIME-Version 1.0
Sender chris@rebertia.com
In-Reply-To <4F1B7CA8.80702@googlemail.com>
References <4F1B7CA8.80702@googlemail.com>
Date Sat, 21 Jan 2012 19:36:32 -0800
X-Google-Sender-Auth km3SSBmumlbTvEEjXb239sO1dW4
Subject Re: access address from object and vice versa
From Chris Rebert <clp2@rebertia.com>
To Tamer Higazi <th982a@googlemail.com>
X-Gm-Message-State ALoCoQn+Y0cWY1xkekrz6saqzGxvd3H2HT7yaZgDbtqntCPZ5dVBOxlAwTUBINFNgT6VkxVXBdOI
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4917.1327203395.27778.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1327203395 news.xs4all.nl 6886 [2001:888:2000:d::a6]:57449
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19199

Show key headers only | View raw


On Sat, Jan 21, 2012 at 7:04 PM, Tamer Higazi <th982a@googlemail.com> wrote:
> Hi people!
> I have asked myself the following thing.
>
> How do I access the address of an object

id(obj) happens to do that in CPython, but it's a mere implementation detail.

> and later get the object from
> that address ?!

Not possible.

> I am heavily interisted.

Why?

Cheers,
Chris

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: access address from object and vice versa Chris Rebert <clp2@rebertia.com> - 2012-01-21 19:36 -0800
  Re: access address from object and vice versa Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-22 05:52 +0000
    Re: access address from object and vice versa Duncan Booth <duncan.booth@invalid.invalid> - 2012-01-23 09:36 +0000
    Re: access address from object and vice versa Grant Edwards <invalid@invalid.invalid> - 2012-01-23 15:54 +0000

csiph-web