> This is pretty hard. For one thing, the object will not be bound to > a name until after __init__() is finished.
Ah, that's a good thing to know... > you could probably use the stack frame to find the point of call > and inspect the byte codes there to find the name... I was afraid the answer would be something like that! I will be content with the normal way of doing things then. Thanks for the explanation. Yours, Eric _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor