New submission from Russell Kackley: On a system with no ssl module the following test failure occurs:
====================================================================== ERROR: test_dir (test.test_ftplib.TestFTPClass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/rkackley/Code/cpython/Lib/test/test_ftplib.py", line 598, in test_dir self.client.dir(lambda x: l.append(x)) File "/home/rkackley/Code/cpython/Lib/ftplib.py", line 565, in dir self.retrlines(cmd, func) File "/home/rkackley/Code/cpython/Lib/ftplib.py", line 476, in retrlines if isinstance(conn, _SSLSocket): TypeError: isinstance() arg 2 must be a type or tuple of types ---------- components: Library (Lib) files: ftplib.diff keywords: patch messages: 184429 nosy: giampaolo.rodola, rkackley priority: normal severity: normal status: open title: ftplib raises exception if ssl module is not available type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file29438/ftplib.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17452> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com