Lines Matching defs:closed
216 closed = False
219 if not self.closed:
220 self.closed = True
224 if not self.closed:
225 self.closed = True
227 raise ValueError("already closed")
250 # it, so that the kernel can free it. `Popen._handle` gets closed
1150 # process is still running but closed the pipe.
1313 """Helper to ensure file descriptors opened in _get_handles are closed"""
1895 # be sure the FD is closed no matter what
1911 # be sure the FD is closed no matter what
2093 if self.stdout and not self.stdout.closed:
2095 if self.stderr and not self.stderr.closed: