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 vstinner
Recipients neologix, pitrou, vstinner
Date 2015-03-12.15:37:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426174662.68.0.293958221956.issue23646@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch changes time.sleep() to retry select() when select() is interrupted by a signal or retry WaitForSingleObjectEx() when the signal SIGINT is received on Windows.

The patch drops support for EMX, sorry! I didn't know EMX, I had to Google it: "EMX is a free 32-bit DOS extender which adds some properties of Unix to MS-compatible DOS and IBM's OS/2 operating systems." (OS/2 support was dropped in Python 3.4  by the PEP 11.)

The patch also drops support for Watcom C compiler. I guess that it's also something specific to MS-DOS or very old (and unsupported) Windows versions.

select.select() is available on all platforms according to the doc, so I don't understand why we would not use it on all platforms for time.sleep() in 2015!
https://docs.python.org/dev/library/select.html#select.select
History
Date User Action Args
2015-03-12 15:37:42vstinnersetrecipients: + vstinner, pitrou, neologix
2015-03-12 15:37:42vstinnersetmessageid: <1426174662.68.0.293958221956.issue23646@psf.upfronthosting.co.za>
2015-03-12 15:37:42vstinnerlinkissue23646 messages
2015-03-12 15:37:42vstinnercreate