Antoine Pitrou <pit...@free.fr> added the comment: > That's what I thought at first too. But the user's sockets were set to > blocking.
If you set a timeout on a socket, it is really non-blocking internally (from the OS' point of view). So perhaps this is what you are witnessing. By the way, rather than sleeping a fixed amount of time before retrying, you could probably use select() on the socket. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8493> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com