Who knows somefunction?

Brian Quinlan brian at sweetapp.com
Thu Sep 26 17:38:14 EDT 2002


> Is there a function <somefunction> in Python
> for which
> 
> something is <somefunction>(id(something))
> 
> returns invariably true?

Nope. You might want to consider creating your own dictionary to map ids
to the objects that you are interested in.

Cheers,
Brian





More information about the Python-list mailing list