[BUG] error in HTTPTestUtil.py

Alexander Belchenko bialix at ukr.net
Tue Oct 25 23:52:54 BST 2005


John A Meinel wrote:
  > On my Mac, and on Linux, EAGAIN == EWOULDBLOCK, apparently they are
> different in windows. So I would just change the above to be:
>             except socket.error, e:
>                 if e.args[0] in (errno.EAGAIN, errno.EWOULDBLOCK):
>                     time.sleep(0.01)
>                     continue
>                 raise
> 
> Can you make that change and see if it fixes your problem?

I've test this change: traceback is gone. So it seems this change solve 
the problem on Windows. Do you update your branch or I need send the patch?

Alexander.





More information about the bazaar mailing list