This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients amaury.forgeotdarc, pitrou, sbt
Date 2011-12-29.18:40:09
SpamBayes Score 3.2035885e-05
Marked as misclassified No
Message-id <1325184010.24.0.892314977238.issue13673@psf.upfronthosting.co.za>
In-reply-to
Content
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__)
History
Date User Action Args
2011-12-29 18:40:10pitrousetrecipients: + pitrou, amaury.forgeotdarc, sbt
2011-12-29 18:40:10pitrousetmessageid: <1325184010.24.0.892314977238.issue13673@psf.upfronthosting.co.za>
2011-12-29 18:40:09pitroulinkissue13673 messages
2011-12-29 18:40:09pitroucreate