The python docs [0] indicate that the file descriptor should be a socket: "The file descriptor should refer to a socket, but this is not checked — subsequent operations on the object may fail if the file descriptor is invalid."
The docs do need to be corrected. bpo#35415 now explicitly checks fd to ensure they are sockets. The fix for this issue likely needs to be in sshuttle, not python. [0] https://docs.python.org/3/library/socket.html#socket.fromfd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1873368 Title: ssshuttle server fails to connect endpoints with python 3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1873368/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs