New issue 2977: errno.EWOULDBLOCK must be errno.WSAEWOULDBLOCK on windows
https://bitbucket.org/pypy/pypy/issues/2977/errnoewouldblock-must-be

mattip:

msvc 2010 added EWOULDBLOCK, previously it was set to WSAEWOULDBLOCK. We do not 
override the E* values with the WSAE* values as [cpython 
does](https://github.com/python/cpython/blob/3.7/Modules/errnomodule.c#L10). 
This causes 
[pika](https://github.com/pika/pika/blob/stable/pika/adapters/base_connection.py#L33)
 to fail. CPython raises a `"BlockingIOError(10035, ...) when the sendbuffer is 
full. PyPy3 raises BlockingIOError(140, ...) since errno.EWOULDBLOCK is 140 but 
cpython uses errno.WSAEWOULDBLOCK == 10035


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to