[issue1098732] Enhance tracebacks and stack traces with vars

Skip Montanaro report at bugs.python.org
Mon Feb 16 20:31:12 CET 2009


Skip Montanaro <skip at pobox.com> added the comment:

Martin> If it becomes a sys.excepthook, it doesn't need to be part of
    Martin> Python anymore; any user could install it as a recipe if they
    Martin> desire.

    Martin> Hence I'm rejecting the patch.

It could still be a nice addition to the traceback module:

    sys.excepthook = traceback.verbose_traceback

In fact, a minimalist traceback style, similar to the one asyncore, might
also be useful:

    sys.excepthook = traceback.minimal_traceback

Skip

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1098732>
_______________________________________


More information about the Python-bugs-list mailing list