[issue27377] Add smarter socket.fromfd()
Neil Schemenauer
report at bugs.python.org
Thu Jul 14 14:31:39 EDT 2016
Neil Schemenauer added the comment:
Tested on FreeBSD 10.3. getsockname() on a IPPROTO_SCTP protocol socket returns errno = FileNoFoundError. We could just comment out that test I guess.
My theory is that on FreeBSD, getsockname() on an SCTP socket fails if it is not bound. Indeed, adding a bind(('127.0.0.1', 11234)) call before the fdtype() call makes the test pass.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27377>
_______________________________________
More information about the Python-bugs-list
mailing list