STINNER Victor <victor.stin...@haypocalc.com> added the comment: The sleep implementation of floatsleep() doesn't call PyErr_SetFromErrno() if errno is EINTR, whereas EINTR indicates that select() was interrupted. I agree that PyErr_CheckSignals() is overkill in the Windows implementation.
My new patch is more explicit: only add a special case for the select implementation, if errno is EINTR. ---------- Added file: http://bugs.python.org/file22536/sleep_signal-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12462> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com