diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-04-18 22:15:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-18 22:15:41 (GMT) |
commit | 39a54ba63850e081a4a5551a773df5b4d5b1d3cd (patch) | |
tree | d3d67a17c4f4a5c881f2288603dad435ac46829f /Misc/NEWS.d | |
parent | 0860b26a4f7abeb61aad9f4b96de8e78eed8c12a (diff) | |
download | cpython-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 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-04-15-20-56-31.gh-issue-74166.70KlvL.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-04-15-20-56-31.gh-issue-74166.70KlvL.rst b/Misc/NEWS.d/next/Library/2022-04-15-20-56-31.gh-issue-74166.70KlvL.rst new file mode 100644 index 0000000..ddd4eb7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-04-15-20-56-31.gh-issue-74166.70KlvL.rst @@ -0,0 +1 @@ +Add option to raise all errors from :meth:`~socket.create_connection` in an :exc:`ExceptionGroup` when it fails to create a connection. The default remains to raise only the last error that had occurred when multiple addresses were tried. |