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 docs@python, gvanrossum, vstinner, yselivanov
Date 2014-06-19.16:18:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403194727.26.0.994063048608.issue21680@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, the default event loop is _WindowsSelectorEventLoop which calls select.select(). On Windows, select() only accepts socket handles:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx

Only file descriptors of sockets are accepted for add_reader() and add_writer()? This event loop doesn't support subprocesses. 


On Windows, the proactor event loop can be used instead to support subprocesses. But this event loop doesn't support add_reader() nor add_writer() :-( This event loop doesn't support SSL.


On Windows, the granularity of the monotonic time is usually 15.6 msec. I don't know if it's interesting to mention it. The resolution is different if HPET is enabled on Windows.


On Mac OS X older than 10.9 (Mavericks), selectors.KqueueSelector is the default selector but it doesn't character devices like PTY. The SelectorEventLoop can be used with SelectSelector or PollSelector to handle character devices on Mac OS X 10.6 (Snow Leopard) and later.
History
Date User Action Args
2014-06-19 16:18:47vstinnersetrecipients: + vstinner, gvanrossum, docs@python, yselivanov
2014-06-19 16:18:47vstinnersetmessageid: <1403194727.26.0.994063048608.issue21680@psf.upfronthosting.co.za>
2014-06-19 16:18:47vstinnerlinkissue21680 messages
2014-06-19 16:18:46vstinnercreate