Message296421
| Author |
smejkar |
| Recipients |
smejkar |
| Date |
2017年06月20日.13:19:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1497964795.93.0.432091390159.issue30710@psf.upfronthosting.co.za> |
| 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: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 |
|