equal
deleted
inserted
replaced
169 if inst.errno != errno.EINVAL: |
169 if inst.errno != errno.EINVAL: |
170 raise |
170 raise |
171 self.close() |
171 self.close() |
172 raise IOError(errno.EPIPE, 'Broken pipe') |
172 raise IOError(errno.EPIPE, 'Broken pipe') |
173 |
173 |
174 sys.__stdout__ = sys.stdout = winstdout(sys.stdout) |
174 sys.stdout = winstdout(sys.stdout) |
175 |
175 |
176 def _is_win_9x(): |
176 def _is_win_9x(): |
177 '''return true if run on windows 95, 98 or me.''' |
177 '''return true if run on windows 95, 98 or me.''' |
178 try: |
178 try: |
179 return sys.getwindowsversion()[3] == 1 |
179 return sys.getwindowsversion()[3] == 1 |