Message239131
pyerr_assert.patch: modify PyErr_SetObject() and PyErr_Format() to fail with an assertion error if these functions are called with an exception set.
This patch detects where an exception is raised while another exception was already raised (like "try: ... except: raise ...").
I'm using this patch to explicitly not chain exceptions where chaining exceptions would be pointless (ex: replace a TypeError with a new TypeError with a better error message). |
|
Date |
User |
Action |
Args |
2015-03-24 14:44:41 | vstinner | set | recipients:
+ vstinner |
2015-03-24 14:44:41 | vstinner | set | messageid: <1427208281.77.0.277796110738.issue23763@psf.upfronthosting.co.za> |
2015-03-24 14:44:41 | vstinner | link | issue23763 messages |
2015-03-24 14:44:41 | vstinner | create | |
|