def _get_open_fds():
  fds = set()
  for fd in range(3,resource.getrlimit(resource.RLIMIT_NOFILE)[0]):
    try:
      flags = fcntl.fcntl(fd, fcntl.F_GETFD)
    except __HOLE__:
      continue
    fds.add(fd)
  return fds
dataset/ETHPy150Open natduca/quickopen/src/test_runner.py/_get_open_fds