Derek Morr added the comment: I think it makes more sense to use socket.create_connection(), which performs the getaddrinfo call. It makes the patch against imaplib more compact. I've attached a new patch that uses create_connection()
Added file: http://bugs.python.org/file9004/imaplib_ipv6.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1655> __________________________________
imaplib_ipv6.patch
Description: Binary data
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com