Issue #20472: asyncio: Adjust the note about Mac OS X on PTY, specify that it

requires at least Mac OS X 10.6.
This commit is contained in:
Victor Stinner 2014-02-03 00:35:46 +01:00
parent 9dd39f524d
commit 3bc647c0fa
1 changed files with 2 additions and 1 deletions

View File

@ -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)