Antoine Pitrou <pit...@free.fr> added the comment: Well, the traceback shows it's stuck trying to read from the network. It doesn't mean it's stuck in the ssl library; unless your script was taking 100% CPU when you killed it, it was most likely waiting for the peer (a SMTP server, I guess) to respond.
One suggestion would be to add a timeout to the SMTP connection. You can also use set_debuglevel() to get more detailed info about what's happening. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15470> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com