Antoine Pitrou added the comment: Thanks for reporting. For maximum backwards compatibility, the safer fix is to close the socket only in SSLSocket.accept(). Unfortunately I can't think of a way to write a unittest for it, so I'll just commit the fix.
---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17918> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com