Lines Matching refs:inheritable
1974 inheritable = os.get_inheritable(fd)
1976 fds.append((fd, saved, inheritable))
1980 for fd, saved, inheritable in fds:
1981 os.dup2(saved, fd, inheritable=inheritable)
1989 for fd, saved, inheritable in saved_fds:
2509 inheritable, non_inheritable = os.pipe()
2510 self.addCleanup(os.close, inheritable)
2512 os.set_inheritable(inheritable, True)
2514 pass_fds = (inheritable, non_inheritable)
2524 # the inheritable file descriptor must be inherited, so its inheritable
2528 # inheritable flag must not be changed in the parent process
2529 self.assertEqual(os.get_inheritable(inheritable), True)