Message71574
> Having a snippet deterministically reproducing the problem
> would really help in any case.
Here you are. Don't ask how I found this.
The attached script, when run, prints
(KeyError(), ValueError())
(KeyError(), None)
The current exception context (tstate->exc_value) is lost when a
generator is deleted, if it was paused inside a "try" block.
This is the cause of the crash: the gc runs inside PyErr_SetObject and
collects such a generator. |
|
Date |
User |
Action |
Args |
2008-08-20 21:21:26 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pitrou, vstinner |
2008-08-20 21:21:26 | amaury.forgeotdarc | set | messageid: <1219267286.19.0.694792965175.issue3611@psf.upfronthosting.co.za> |
2008-08-20 21:21:25 | amaury.forgeotdarc | link | issue3611 messages |
2008-08-20 21:21:25 | amaury.forgeotdarc | create | |
|