Lines Matching refs:self
17 def __init__(self, fd):
18 self.fd = fd
19 def detach(self):
20 return self.fd
30 def __init__(self, process_obj):
31 self._fds = []
34 def duplicate_for_child(self, fd):
35 self._fds.append(fd)
38 def _launch(self, process_obj):
41 self._fds.append(tracker_fd)
44 set_spawning_popen(self)
57 self._fds.extend([child_r, child_w])
58 self.pid = util.spawnv_passfds(spawn.get_executable(),
59 cmd, self._fds)
60 self.sentinel = parent_r
68 self.finalizer = util.Finalize(self, util.close_fds, fds_to_close)