]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #13087: BufferedReader.seek() now always raises UnsupportedOperation
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 4 Oct 2011 10:28:52 +0000 (12:28 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 4 Oct 2011 10:28:52 +0000 (12:28 +0200)
commitbf009f0bceb9057a44e30b1b397163663ec69634
treed89e05dcf2c20ee6bd1b76ffa7d869f1949d52d3
parent5b99df68b08dc992a1b0b7784ce9f5410ecb8028
parent0fc80c0d5a76ed59f3db0b3f15e1e37ccc127ffb
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 OConnor.
Lib/test/test_io.py
Misc/NEWS
Modules/_io/bufferedio.c