-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The keepfd arg is backwards for the python3 implementaion:
if keep_fd:
return socket.fromfd(fd, family, typ, proto)
else:
return socket.socket(family, typ, proto, fileno=fd)see:
socket
... Unlike socket.fromfd(), fileno will return the same socket and not a duplicate ...
Duplicate the file descriptor fd (an integer as returned by a file object’s fileno() method) and build a socket object ...
r-bt
Metadata
Metadata
Assignees
Labels
No labels