"Tim Daneliuk" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Given the ID of an object, is there a way to access it?
You got the right short answer already.
Another long answer 'yes' is to keep a dictionary mapping ids to objects, 
but as Diez pointed out, you need a real reason to do this.

In some respects, id() is like a siren (in the mythological sense) that 
Python would be better off without.

Terry J. Reedy



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to