This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan, rbcollins, vaultah
Date 2017-08-29.07:45:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503992745.47.0.33675937395.issue31299@psf.upfronthosting.co.za>
In-reply-to
Content
This is a proposed traceback module enhancement deriving from the "python -m" traceback verbosity discussion in issue 16217.

Specifically, I'm thinking a good way of cleaning up those tracebacks would be to use `TracebackException.format()` to get the formatted exception output, but designate particular modules to be *skipped* during the iteration (specifically `runpy`, `_frozen_importlib`, `importlib`).

I'm filing this as a separate issue so the discussion of the public API for the capability in the traceback module can be separated from the discussion of applying that API in runpy.
History
Date User Action Args
2017-08-29 07:45:45ncoghlansetrecipients: + ncoghlan, rbcollins, vaultah
2017-08-29 07:45:45ncoghlansetmessageid: <1503992745.47.0.33675937395.issue31299@psf.upfronthosting.co.za>
2017-08-29 07:45:45ncoghlanlinkissue31299 messages
2017-08-29 07:45:45ncoghlancreate