Message71740
Agreed with Amaury, it's not PyErr_SetObject's job to try to
save/restore the tstate->exc_* variables. We'll probably have to live
with the small context-losing glitches in 3.0.
For 3.1, a radical solution would be to drop the "exception
normalization" misfeature (which is a source of complications and
potential bugs) and always instantiate exception objects as soon as they
are raised rather than lazily. We need to make sure the performance loss
is reasonable though. |
|
Date |
User |
Action |
Args |
2008-08-22 10:22:10 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, vstinner, benjamin.peterson |
2008-08-22 10:22:10 | pitrou | set | messageid: <1219400530.32.0.747338490815.issue3611@psf.upfronthosting.co.za> |
2008-08-22 10:22:09 | pitrou | link | issue3611 messages |
2008-08-22 10:22:06 | pitrou | create | |
|