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 <[email protected]>
In-reply-to <[email protected]>
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