[issue25138] test_socket: socket.EAI_NODATA doesn't exist on FreeBSD

Martin Panter report at bugs.python.org
Sat Sep 19 09:03:37 CEST 2015


Martin Panter added the comment:

Actually, None is probably a bad default, since gaierror().errno also defaults to None. Maybe choose some other unlikely non-integer object instead.

----------

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


More information about the Python-bugs-list mailing list