◐ Shell
clean mode source ↗

bpo-30711: getaddrinfo invalid port number by smejkar · Pull Request #2436 · python/cpython

Define HAVE_BROKEN_GETADDRINFO if the getaddrinfo function does not
detect invalid numeric services.
If the getaddrinfo function does not detect invalid numeric services,
replace it with a wrapper that returns an error code if the port number
is invalid, and calls the getaddrinfo function otherwise.
Return an error code if servname is an invalid numeric service.

auvipy

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re base needed

@csabella

I'm going to close it as inactive. If the original author is interested in continuing to work on it, it can be reopened or someone else can create a new pull request to replace it. If the original author's work is used in a new PR, please give the appropriate credit.