Message193272
| Author |
pitrou |
| Recipients |
adaptivelogic, gvanrossum, ncoghlan, pitrou |
| Date |
2013年07月18日.09:42:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1374140562.29.0.803197326438.issue17911@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think ExceptionSummary could be the visible API, instead of adding an indirection through a separate global function.
Also, I don't think having the "exc_traceback" list of tuples is future-proof. What if we want to add some information to each traceback entry, or refactor it to take __loader__ into account?
Instead, ExceptionSummary could expose the desired operations (e.g. iterate over traceback lines and the associated source code lines) without being constrained by some implementation details. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年07月18日 09:42:42 | pitrou | set | recipients:
+ pitrou, gvanrossum, ncoghlan, adaptivelogic |
| 2013年07月18日 09:42:42 | pitrou | set | messageid: <1374140562.29.0.803197326438.issue17911@psf.upfronthosting.co.za> |
| 2013年07月18日 09:42:42 | pitrou | link | issue17911 messages |
| 2013年07月18日 09:42:41 | pitrou | create |
|