New submission from SenBin Yu: In the SSLSocket __init__ function, it's ok to do a socket type check with argument sock.But meanwhile the sock argument can't be None, which make the SSLSocket socket __init__ way meaningless.Although there are three branch conditions as argument sock, fileno and other.
---------- components: Library (Lib) files: SSLSocket_sock.png messages: 274740 nosy: SenBin Yu priority: normal severity: normal status: open title: Python 3 ssl module can't use a fileno to create a SSLSocket type: behavior versions: Python 3.5 Added file: http://bugs.python.org/file44423/SSLSocket_sock.png _______________________________________ 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