Message301791
| 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: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 |
|