[Zope] Reverse-resolve hex instance numbers in traceback?
dieter at handshake.de
Wed Oct 8 15:19:39 EDT 2003
Milos Prudek wrote at 2003-10-8 13:53 +0200:
> > Sure... you *can* get the address of an object by getting the string
> > representation of it using backticks, ex:
> > `my_obj`
> So, for example, I can do the following?
> print `<Folder instance at 89ca148>`
> Is that what you mean?
It will give you a "SyntaxError".
He meant: If you have an object ("obj"), you can (often) get its
address by "`obj`".
Python does not allow you to reverse this (at least not unless
it is specially compiled).
More information about the Zope