Farhan Ahmad <far...@thebitguru.com> added the comment: Marcin, thanks for finding the cause. I have attached another diff that, instead of removing the assignment, makes the _get_socket function return the socket, which is the expected behavior.
You mentioned that the LMTP class also has this issue. I looked through that class, but didn't see any similar issues. Can you please give more details? Thanks, Farhan ---------- nosy: +farhan.ahmad Added file: http://bugs.python.org/file13949/smtplib_72551.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4066> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com