summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.11.rst
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-04-18 22:15:41 (GMT)
committerGitHub <noreply@github.com>2022-04-18 22:15:41 (GMT)
commit39a54ba63850e081a4a5551a773df5b4d5b1d3cd (patch)
treed3d67a17c4f4a5c881f2288603dad435ac46829f /Doc/whatsnew/3.11.rst
parent0860b26a4f7abeb61aad9f4b96de8e78eed8c12a (diff)
downloadcpython-39a54ba63850e081a4a5551a773df5b4d5b1d3cd.zip
cpython-39a54ba63850e081a4a5551a773df5b4d5b1d3cd.tar.gz
cpython-39a54ba63850e081a4a5551a773df5b4d5b1d3cd.tar.bz2
gh-74166: Add option to get all errors from socket.create_connection (GH-91586)
Diffstat (limited to 'Doc/whatsnew/3.11.rst')
-rw-r--r--Doc/whatsnew/3.11.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 27a5a0f..baff687 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -357,6 +357,10 @@ socket
* Add CAN Socket support for NetBSD.
(Contributed by Thomas Klausner in :issue:`30512`.)
+* :meth:`~socket.create_connection` has an option to raise, in case of
+ failure to connect, an :exc:`ExceptionGroup` containing all errors
+ instead of only raising the last error.
+ (Contributed by Irit Katriel in :issue:`29980`).
sqlite3
-------