Commits

Denis Bilenko committed bbfcb4f

remove EINVAL from ignored_errors on mac os

it can mask legitimate EINVAL cases, causing busy loop

this reopens issue #148

  • Participants
  • Parent commits f4c2f19

Comments (0)

Files changed (1)

File gevent/os.py

 
 
 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):