Commits

Denis Bilenko  committed f4c2f19

socket.py: add a minor comment

  • Participants
  • Parent commits b571425

Comments (0)

Files changed (1)

File gevent/socket.py

             try:
                 self._wait(self._read_event)
             except error:
+                # if another greenlet called this socket, _wait would fail with EBADF
                 ex = sys.exc_info()[1]
                 if ex.args[0] == EBADF:
                     return ''