How to obtain an instance's name at runtime?

Emile van Sebille emile at fenx.com
Fri Jun 25 08:57:57 EDT 1999


I'm new at this, but it seems I've read that the tracestack is
available.  Might it be possible to read in the calling line number,
then parse the source code for your 'name'?

--

Emile van Sebille
emile at fenx.com
-------------------






More information about the Python-list mailing list