summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-20 11:54:28 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-03-20 11:54:28 (GMT)
commita453cd8d85f583914a1bbb8d5054306bbbafdb7c (patch)
tree13410366cc0465611601372e268c11bd1579b6db /Misc/NEWS
parenta3c0202eb574bd3c09bc81b74227e146503fff94 (diff)
downloadcpython-a453cd8d85f583914a1bbb8d5054306bbbafdb7c.zip
cpython-a453cd8d85f583914a1bbb8d5054306bbbafdb7c.tar.gz
cpython-a453cd8d85f583914a1bbb8d5054306bbbafdb7c.tar.bz2
Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retried
when interrupted by a signal not in the *sigset* parameter, if the signal handler does not raise an exception. signal.sigtimedwait() recomputes the timeout with a monotonic clock when it is retried. Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't raise InterruptedError anymore if it is interrupted by a signal not in its sigset parameter.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f3dab00..455c0c1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -21,6 +21,11 @@ Core and Builtins
Library
-------
+- Issue #23715: :func:`signal.sigwaitinfo` and :func:`signal.sigtimedwait` are
+ now retried when interrupted by a signal not in the *sigset* parameter, if
+ the signal handler does not raise an exception. signal.sigtimedwait()
+ recomputes the timeout with a monotonic clock when it is retried.
+
- Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and
codecs, that accepted only read-only bytes-like object now accept writable
bytes-like object too.