def _is_resumable(exc):
 checker = _SELECT_ERROR_CHECKERS.get(exc.__class__, None)
 if (checker is not None):
  return checker(exc)
 else:
  return False

def _is_resumable ( exc ) : checker = _SELECT_ERROR_CHECKERS . get ( exc . __class__ , None ) if ( checker is not None ) : return checker ( exc ) else : return False
check if caught exception represents eintr error .