Message150342
I think calling PyErr_WriteUnraisable would be more appropriate than PyErr_Clear.
I also wonder whether it's ok to ignore the exception. Pressing e.g. Ctrl-C generally shouldn't fail to stop the program, even if another exception is being processed at that moment.
(of course, you could argue this is already the case when e.g. the signal is received while in a __del__) |
|
Date |
User |
Action |
Args |
2011-12-29 18:40:10 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, sbt |
2011-12-29 18:40:10 | pitrou | set | messageid: <1325184010.24.0.892314977238.issue13673@psf.upfronthosting.co.za> |
2011-12-29 18:40:09 | pitrou | link | issue13673 messages |
2011-12-29 18:40:09 | pitrou | create | |
|