]> granicus.if.org Git - python/commit
Issue #13087: BufferedReader.seek() now always raises UnsupportedOperation
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 4 Oct 2011 10:26:20 +0000 (12:26 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 4 Oct 2011 10:26:20 +0000 (12:26 +0200)
commit1e44fecc52da8fb47ab51a000c48e0ce8f36064c
tree402d41816f79d63ccfd1f8d296c0a4e6d3e32b1a
parent94190bb6e7f3b1c7942b562fe0fad3e62b5386b9
Issue #13087: BufferedReader.seek() now always raises UnsupportedOperation
if the underlying raw stream is unseekable, even if the seek could be
satisfied using the internal buffer.  Patch by John O'Connor.
Lib/test/test_io.py
Misc/NEWS
Modules/_io/bufferedio.c