summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-04-02 09:50:57 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-04-02 09:50:57 (GMT)
commit81c41dbfccf7b2a6bcab2570c102bb591674c567 (patch)
tree2ffe8cb15d69f72ca58115f717547708d556e296 /Misc
parent708d9ba5a228de83267e9ecc57f4fde90c326b84 (diff)
downloadcpython-81c41dbfccf7b2a6bcab2570c102bb591674c567.zip
cpython-81c41dbfccf7b2a6bcab2570c102bb591674c567.tar.gz
cpython-81c41dbfccf7b2a6bcab2570c102bb591674c567.tar.bz2
Issue #23618: socket.socket.connect() now waits until the connection completes
instead of raising InterruptedError if the connection is interrupted by signals, signal handlers don't raise an exception and the socket is blocking or has a timeout. socket.socket.connect() still raise InterruptedError for non-blocking sockets.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 949bf3f..19228a9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -16,6 +16,12 @@ Core and Builtins
Library
-------
+- Issue #23618: :meth:`socket.socket.connect` now waits until the connection
+ completes instead of raising :exc:`InterruptedError` if the connection is
+ interrupted by signals, signal handlers don't raise an exception and the
+ socket is blocking or has a timeout. :meth:`socket.socket.connect` still
+ raise :exc:`InterruptedError` for non-blocking sockets.
+
- Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.
- Issue #23836: Fix the faulthandler module to handle reentrant calls to