Message296421
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. |
|
Date |
User |
Action |
Args |
2017-06-20 13:19:55 | smejkar | set | recipients:
+ smejkar |
2017-06-20 13:19:55 | smejkar | set | messageid: <1497964795.93.0.432091390159.issue30710@psf.upfronthosting.co.za> |
2017-06-20 13:19:55 | smejkar | link | issue30710 messages |
2017-06-20 13:19:55 | smejkar | create | |
|