converting an id() into an object

Emile van Sebille emile at fenx.com
Mon Jan 15 07:50:12 EST 2001


Ok, it's early still.  Forget this question, maybe.

Would this be different from simply:

poof = spam

off-to-a-bad-start-ly y'rs

--

Emile van Sebille
emile at fenx.com
-------------------


"Emile van Sebille" <emile at fenx.com> wrote in message
news:93uppg$bm4b8$1 at ID-11957.news.dfncis.de...
> Is there a way to inverse the functionality of id()?  This
> of course depends on items not moving around in memory and
> not being decref'd into gc.
>
> eg:
>
> foo = id(spam)
> ...
> ...
> poof = swizzled(foo)
>
> spam is poof    # this would be true?
>
>
> I don't have an immediate need for this, but the thought
has
> crossed my mind often enough that if it were available, I
> may have done something with it.
>
>
> --
>
> Emile van Sebille
> emile at fenx.com
> -------------------
>
>
>
>





More information about the Python-list mailing list