Message239321
If a new exception is raised by _PyTraceback_Add(), the original exception is lost. It's sad because _PyTraceback_Add() is supposed to enhance the current exception, not to drop it.
In the draft of my PEP 490, I propose to chain the two exceptions. |
|
Date |
User |
Action |
Args |
2015-03-26 11:16:32 | vstinner | set | recipients:
+ vstinner, georg.brandl, serhiy.storchaka |
2015-03-26 11:16:32 | vstinner | set | messageid: <1427368592.67.0.0890296044996.issue23782@psf.upfronthosting.co.za> |
2015-03-26 11:16:32 | vstinner | link | issue23782 messages |
2015-03-26 11:16:32 | vstinner | create | |
|