Message235365
| Author |
rbcollins |
| Recipients |
adaptivelogic, eric.snow, gvanrossum, martius, ncoghlan, pitrou, rbcollins, rhettinger, vstinner, yselivanov |
| Date |
2015年02月03日.23:28:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1423006129.21.0.847911017415.issue17911@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This iteration provides two constructors for TracebackException, one for exception objects, one for exc_info tuples. So it should be easy to use.
The __init__ takes the exc_info tuple because thats less code (much easier to destructure rather than restructure), but in the docs and docstrings I point to the classmethods, which includes from_exception - that takes a single exception object. |
|