[issue8806] ftplib should support SSL contexts

Antoine Pitrou report at bugs.python.org
Mon May 24 23:00:04 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Patch in attachment.

You could add checks for:

    self.assertIs(self.client.sock.context, ctx)
[...]
    self.assertIs(sock.context, ctx)

(I know, the "context" attribute isn't documented, I'm going to fix
this)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8806>
_______________________________________


More information about the Python-bugs-list mailing list