Antoine Pitrou added the comment: When you say "I apply this patch", you mean smtplib_05_shutdown_socket_v2.patch, right? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue4470> _______________________________________