This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author smejkar
Recipients smejkar
Date 2017-06-20.13:19:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
If the port argument is a number, getaddrinfo attempts to convert it to a C long, that raises OverflowError if the conversion fails.

Instead, getaddrinfo should convert the port to a string (bytes) directly and rely on the underlying getaddrinfo to return EAI_SERVICE. This is also consistent with the case when a numeric port is passed as a string.
History
Date User Action Args
2017-06-20 13:19:55smejkarsetrecipients: + smejkar
2017-06-20 13:19:55smejkarsetmessageid: <[email protected]>
2017-06-20 13:19:55smejkarlinkissue30710 messages
2017-06-20 13:19:55smejkarcreate