Kristján Valur Jónsson <krist...@ccpgames.com> added the comment: Antoine, absolument. Please see attached file bug.py
As for a different patch, we should agree what behaviour should be expected. I don't think it is possible to rely on some platform specific behaviour. This is because it is in general not possible to query the blokcking state of a socket. Instead we should simply define it for python, and in accordance to established tradition, namely that defaulttimeout prevails. Btw, defaulttimeout(None) doesn't mean that that there is no default, it means that the default is "blocking." ---------- Added file: http://bugs.python.org/file21478/bug.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7995> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com