Berker Peksag added the comment: Did you look at the patch? It adds the following test case:
+ s = socket.socket() + sfd = s.fileno() + # Create secure socket from fileno + ss = ssl.SSLSocket(fileno=sfd) + self.assertTrue(ss.fileno() == sfd) Isn't that what you want to achieve? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27996> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com