[issue31198] getaddrinfo: inconsistent handling of port=None

Nathaniel Smith report at bugs.python.org
Mon Aug 14 22:11:14 EDT 2017


Nathaniel Smith added the comment:

Ugh, apparently this weird behavior is actually mandated by the RFC :-(.

RFC 3493:

   The nodename and servname arguments are either null pointers or
   pointers to null-terminated strings.  One or both of these two
   arguments must be a non-null pointer.

So... never mind!

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31198>
_______________________________________


More information about the Python-bugs-list mailing list