Lines Matching refs:IOError
33 class BlockingIOError(IOError):
38 super(IOError, self).__init__(errno, strerror)
260 class UnsupportedOperation(ValueError, IOError):
383 raise IOError("File or stream is not seekable."
398 raise IOError("File or stream is not readable."
412 raise IOError("File or stream is not writable."
703 raise IOError("seek() returned an invalid position")
709 raise IOError("tell() returned an invalid position")
925 raise IOError('"raw" argument must be readable.')
966 except IOError as e:
990 except IOError as e:
1025 except IOError as e:
1075 raise IOError('"raw" argument must be writable.')
1135 except IOError as e:
1144 raise IOError("write() returned incorrect number of bytes")
1184 raise IOError('"reader" argument must be readable.')
1187 raise IOError('"writer" argument must be writable.')
1263 raise IOError("seek() returned invalid position")
1718 raise IOError("underlying stream is not seekable")
1720 raise IOError("telling position disabled by next() call")
1770 raise IOError("can't reconstruct logical file position")
1796 raise IOError("underlying stream is not seekable")
1799 raise IOError("can't do nonzero cur-relative seeks")
1806 raise IOError("can't do nonzero end-relative seeks")
1848 raise IOError("can't restore logical file position")