This commit is contained in:
Chris Gramberg 2025-12-08 06:12:12 +02:00 committed by GitHub
commit 4648e0883d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -159,6 +159,14 @@ The module defines the following:
library, and does not handle file descriptors that don't originate from
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
The function is now retried with a recomputed timeout when interrupted by
a signal, except if the signal handler raises an exception (see