reverse function of id()
Greg Ewing
greg.ewing at compaq.com
Thu Oct 14 06:04:26 EDT 1999
Michael Hudson wrote:
>
> "Olivier Deckmyn" <olivier.deckmyn at mail.dotcom.fr> writes:
>
> > Hi !
> >
> > Is there a way to get the Python Object whose id is X...
>
> Not in the core; it would be easy enough to do in an extension, but
> it's a licence to crash the interpreter
And so it would be vastly preferable to just keep a
reference to the object in the first place.
If you tell us more about why you think you need to
do this, maybe we can suggest an alternative.
Greg
More information about the Python-list
mailing list