Get reference to "owner"
Gerhard Häring
gerhard at bigfoot.de
Tue Mar 5 10:16:34 EST 2002
Robert Oschler wrote:
> Gerhard,
>
> Excellent!!! Never expected to find a language that could do this ...
Hmm. Java 1.4 comes close, but not quite. The StackTraceElement class
gives you access to the class name from the stack frame, but not the
calling instance. Guess that's even for a reason as it would probably
undermine the Java security model.
Anyways, cool trick. Maybe I'll use it some day :-)
Gerhard
More information about the Python-list
mailing list