How do I get an object from the id()-identifier?
Remco Gerlich
scarblac at pino.selwerd.nl
Thu May 17 09:04:31 EDT 2001
Mats Sjoberg <masjober at abo.fi> wrote in comp.lang.python:
> I know that I can get a unique identifier (usually the memory
> address) of a python object with the id() function, but how do
> I get the object back if I only have this identifier? (This will
> all of course happen in the same session, otherwise the objects
> will already be removed by the garbage collection...)
You can't.
--
Remco Gerlich
More information about the Python-list
mailing list