Skip Montanaro <s...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue11007> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com