Message301791
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. |
|
Date |
User |
Action |
Args |
2017-09-09 20:32:57 | pitrou | set | recipients:
+ pitrou, brett.cannon, ncoghlan, rbcollins, vaultah |
2017-09-09 20:32:57 | pitrou | set | messageid: <1504989177.04.0.93865469137.issue31299@psf.upfronthosting.co.za> |
2017-09-09 20:32:56 | pitrou | link | issue31299 messages |
2017-09-09 20:32:56 | pitrou | create | |
|