summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-31 09:48:34 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-03-31 09:48:34 (GMT)
commit4448c08451e947ccf197742d22fa49adba71e363 (patch)
treef1183e1f289ad178ec22e274644b86a6c3a0cf55 /Doc
parentb6faf0dfa7e5d9f5b9f09bc1d1113069f1c962ab (diff)
downloadcpython-4448c08451e947ccf197742d22fa49adba71e363.zip
cpython-4448c08451e947ccf197742d22fa49adba71e363.tar.gz
cpython-4448c08451e947ccf197742d22fa49adba71e363.tar.bz2
Issue #23485: select.kqueue.control() is now retried when interrupted by a signal
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/select.rst6
-rw-r--r--Doc/whatsnew/3.5.rst3
2 files changed, 8 insertions, 1 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
index 61f3835..e6f95fd 100644
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -454,6 +454,12 @@ Kqueue Objects
- max_events must be 0 or a positive integer
- timeout in seconds (floats possible)
+ .. 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
+ :pep:`475` for the rationale), instead of raising
+ :exc:`InterruptedError`.
+
.. _kevent-objects:
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index 6c2d521..e5fefae 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -621,7 +621,8 @@ Changes in the Python API
- :func:`os.open`, :func:`open`
- :func:`os.read`, :func:`os.write`
- - :func:`select.select`, :func:`select.poll.poll`, :func:`select.epoll.poll`
+ - :func:`select.select`, :func:`select.poll.poll`, :func:`select.epoll.poll`,
+ :func:`select.kqueue.control`
- :func:`time.sleep`
* Before Python 3.5, a :class:`datetime.time` object was considered to be false