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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re base needed
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters