]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-74895: getaddrinfo no longer raises OverflowError (#2435)
authorRadek Smejkal <radek.smejkal@atrak.cz>
Tue, 14 Feb 2023 01:37:34 +0000 (02:37 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Feb 2023 01:37:34 +0000 (17:37 -0800)
commit928752ce4c23f47d3175dd47ecacf08d86a99c9d
tree65124d98543829099a38f1d8fc8b33644a352de2
parent0c6fe81dce9d6bb1dce5e4503f1b42bc5355ba24
gh-74895: getaddrinfo no longer raises OverflowError (#2435)

`socket.getaddrinfo()` no longer raises `OverflowError` based on the **port** argument. Error reporting (or not) for its value is left up to the underlying C library `getaddrinfo()` implementation.
Lib/test/test_socket.py
Misc/ACKS
Misc/NEWS.d/next/Core and Builtins/2023-02-13-22-21-58.gh-issue-74895.esMNtq.rst [new file with mode: 0644]
Modules/getaddrinfo.c
Modules/socketmodule.c