Commit 85ae0d91 authored by Denis Bilenko's avatar Denis Bilenko

remove EINVAL from ignored_errors on mac os

it can mask legitimate EINVAL cases, causing busy loop

this reopens issue #148
parent daad3d6e
......@@ -25,10 +25,6 @@ _write = os.write
ignored_errors = [EAGAIN, errno.EINTR]
if sys.platform == 'darwin':
# EINVAL sometimes happens on macosx without reason
# http://code.google.com/p/gevent/issues/detail?id=148
ignored_errors.append(errno.EINVAL)
def _map_errors(func, *args):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment