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 Trundle, aronacher, benjamin.peterson, exarkun, loewis, ned.deily, pitrou, ronaldoussoren, stutzbach
Date 2010-09-16.13:33:23
SpamBayes Score 1.807523e-05
Marked as misclassified No
Message-id <1284643999.3397.8.camel@localhost.localdomain>
In-reply-to <C1B8367C-D4D8-4F2E-A233-8252D374D407@mac.com>
Content
> Because Python's signal handlers only set a flag and do the actual
> action later on blindly rerunning system calls when errno == EINTR may
> result in programs that don't seem to react to signals at all.

You just need to call PyErr_CheckSignals() and check its result.
History
Date User Action Args
2010-09-16 13:33:25pitrousetrecipients: + pitrou, loewis, ronaldoussoren, exarkun, benjamin.peterson, ned.deily, stutzbach, aronacher, Trundle
2010-09-16 13:33:23pitroulinkissue9867 messages
2010-09-16 13:33:23pitroucreate