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 vaultah
Recipients brett.cannon, ncoghlan, pitrou, rbcollins, vaultah
Date 2017-09-24.22:51:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506293495.59.0.133053670121.issue31299@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, a public built-in facility to modify a traceback would certainly be useful, although there should be a standard way to "hide" unwanted frames without mutating the traceback, too, and the traceback module seems a perfect place to add it.

I have no objections to the `filter` argument, though filtering out frames based on modules to me feels by far more common a task than anything else `filter` would be capable of.

I can update the PR if there's a consensus that `filter` is favored over `ignore_modules`.
History
Date User Action Args
2017-09-24 22:51:35vaultahsetrecipients: + vaultah, brett.cannon, ncoghlan, pitrou, rbcollins
2017-09-24 22:51:35vaultahsetmessageid: <1506293495.59.0.133053670121.issue31299@psf.upfronthosting.co.za>
2017-09-24 22:51:35vaultahlinkissue31299 messages
2017-09-24 22:51:35vaultahcreate