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

References <4F1B7CA8.80702@googlemail.com>
Date 2012-01-21 19:36 -0800
Subject Re: access address from object and vice versa
From Chris Rebert <clp2@rebertia.com>
Newsgroups comp.lang.python
Message-ID <mailman.4917.1327203395.27778.python-list@python.org> (permalink)

Show all headers | 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