mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Merge 38940a015b into 7099af8f5e
This commit is contained in:
commit
4648e0883d
1 changed files with 8 additions and 0 deletions
|
|
@ -159,6 +159,14 @@ The module defines the following:
|
||||||
library, and does not handle file descriptors that don't originate from
|
library, and does not handle file descriptors that don't originate from
|
||||||
WinSock.
|
WinSock.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
:c:func:`!select` may not work with file objects that
|
||||||
|
internally buffer data because select is only aware of data in the
|
||||||
|
file descriptor provided by the kernel. However, :term:`file-like objects <file object>` often
|
||||||
|
contain a reference to a file descriptor via a :meth:`!fileno` method
|
||||||
|
which will work with select.
|
||||||
|
|
||||||
.. versionchanged:: 3.5
|
.. versionchanged:: 3.5
|
||||||
The function is now retried with a recomputed timeout when interrupted by
|
The function is now retried with a recomputed timeout when interrupted by
|
||||||
a signal, except if the signal handler raises an exception (see
|
a signal, except if the signal handler raises an exception (see
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue