Message146447
| Author |
petri.lehtinen |
| Recipients |
Trundle, ezio.melotti, ncoghlan, petri.lehtinen, pitrou, python-dev |
| Date |
2011年10月26日.18:11:08 |
| SpamBayes Score |
8.1936224e-07 |
| Marked as misclassified |
No |
| Message-id |
<1319652669.58.0.787797432261.issue13188@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It seems this cannot be achieved the same way in 2.7 as the traceback is not directly associated with the exception. However, if we're currently in an exception handler and sys.exc_info() corresponds to the exception passed to generator.throw(), we could use the current traceback. Would this approach be too complicated and not worth it? |
|