[New-bugs-announce] [issue27996] Python 3 ssl module can't use a fileno to create a SSLSocket

SenBin Yu report at bugs.python.org
Tue Sep 6 23:25:51 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue27996>
_______________________________________


More information about the New-bugs-announce mailing list