equal
deleted
inserted
replaced
486 if inst.errno not in (errno.EPIPE, errno.EIO, errno.EBADF): |
486 if inst.errno not in (errno.EPIPE, errno.EIO, errno.EBADF): |
487 raise |
487 raise |
488 |
488 |
489 def flush(self): |
489 def flush(self): |
490 try: self.fout.flush() |
490 try: self.fout.flush() |
491 except: pass |
491 except (IOError, ValueError): pass |
492 try: self.ferr.flush() |
492 try: self.ferr.flush() |
493 except: pass |
493 except (IOError, ValueError): pass |
494 |
494 |
495 def interactive(self): |
495 def interactive(self): |
496 '''is interactive input allowed? |
496 '''is interactive input allowed? |
497 |
497 |
498 An interactive session is a session where input can be reasonably read |
498 An interactive session is a session where input can be reasonably read |