From: Victor Stinner Date: Sun, 2 Feb 2014 23:35:46 +0000 (+0100) Subject: Issue #20472: asyncio: Adjust the note about Mac OS X on PTY, specify that it X-Git-Tag: v3.4.0rc1~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3bc647c0faa7e7d3abb1412cc4e5e6a5566eed9f;p=thirdparty%2FPython%2Fcpython.git Issue #20472: asyncio: Adjust the note about Mac OS X on PTY, specify that it requires at least Mac OS X 10.6. --- diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index aac5a9451a75..6c3c2df7cc54 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -313,7 +313,8 @@ Run subprocesses asynchronously using the :mod:`subprocess` module. On Mac OS X older than 10.9 (Mavericks), :class:`selectors.KqueueSelector` does not support character devices like PTY, whereas it is used by the default event loop. The :class:`SelectorEventLoop` can be used with - :class:`SelectSelector` to handle character devices. + :class:`SelectSelector` or :class:`PollSelector` to handle character devices + on Mac OS X 10.6 (Snow Leopard) and later. .. method:: BaseEventLoop.subprocess_exec(protocol_factory, \*args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=False, shell=False, bufsize=0, \*\*kwargs)