[issue11007] stack tracebacks should give the relevant class name
Skip Montanaro
report at bugs.python.org
Tue Jan 25 19:55:52 CET 2011
Skip Montanaro <skip at pobox.com> added the comment:
I'm not sure you can get there from here, certainly not in a
straightforward way. The traceback formatter gets a reference to
the code object (traceback -> frame -> code). That object has a name
attribute (which is what's displayed) but it doesn't have a reference
back to the function object.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11007>
_______________________________________
More information about the Python-bugs-list
mailing list