[issue19919] SSL: test_connect_ex_error fails with EWOULDBLOCK

Merlijn van Deen report at bugs.python.org
Sat Dec 7 18:03:50 CET 2013


Merlijn van Deen added the comment:

Yes, they are.

>>> errno.EWOULDBLOCK
11

EAGAIN and EWOULDBLOCK are the only two with that errno:
>>> [(k,v) for (k,v) in errno.__dict__.items() if v==11]
[('EWOULDBLOCK', 11), ('EAGAIN', 11)]

111 is just ECONNREFUSED:
>>> [(k,v) for (k,v) in errno.__dict__.items() if v==111]
[('ECONNREFUSED', 111)]

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19919>
_______________________________________


More information about the Python-bugs-list mailing list