Please translate this easy snip of C++ to Python
Jay O'Connor
joconnor at cybermesa.com
Sun Feb 4 15:28:57 EST 2001
chris at onca.catsden.net wrote:
> And... not sure if there's a equivalent of __line__
Of more interest would be to be able to get a hold of execution stack
information, such as what method called this method (and maybe the
parameter values, such as 'self' of *that* method)
If it's called 'trace'? it'd be nice to trace back :)
This may be possible, I don't know how the Traceback works in Python; I
haven't explored it yet.
Take care,
--
Jay O'Connor
joconnor at cybermesa.com
http://www.cybermesa.com/~joconnor
"God himself plays the bass strings first when He tunes the soul"
More information about the Python-list
mailing list