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 pitrou
Recipients brett.cannon, ncoghlan, pitrou, rbcollins, vaultah
Date 2017-09-09.20:32:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504989177.04.0.93865469137.issue31299@psf.upfronthosting.co.za>
In-reply-to
Content
I think a more general facility to strip unwanted frames from traceback objects would be useful for more people (including importlib, I think).  i.e. actually mutate the traceback object, not remove the unwanted frames when printing (since it only works if you're the one doing the printing).

(note mutating a traceback object is very easy in C, it's just not possible in pure Python, except perhaps with nasty ctypes hacks)

Also, the `ignore_modules` would be more powerful as a generic `filter` callback, I think.
History
Date User Action Args
2017-09-09 20:32:57pitrousetrecipients: + pitrou, brett.cannon, ncoghlan, rbcollins, vaultah
2017-09-09 20:32:57pitrousetmessageid: <1504989177.04.0.93865469137.issue31299@psf.upfronthosting.co.za>
2017-09-09 20:32:56pitroulinkissue31299 messages
2017-09-09 20:32:56pitroucreate