summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_StringIO.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-10-12 16:45:37 (GMT)
committerGuido van Rossum <guido@python.org>2000-10-12 16:45:37 (GMT)
commitb636dc67ed3c351d9631a7900ea05c3394a99518 (patch)
treeabc7c1192f0a6fd47535a4d92df8fba3daee6216 /Lib/test/test_StringIO.py
parent2e2a70abe48d84846fde5e9a64450f8b0c9934b2 (diff)
downloadcpython-b636dc67ed3c351d9631a7900ea05c3394a99518.zip
cpython-b636dc67ed3c351d9631a7900ea05c3394a99518.tar.gz
cpython-b636dc67ed3c351d9631a7900ea05c3394a99518.tar.bz2
[ Bug #116636 ] Bug in StringIO.write()
http://sourceforge.net/bugs/?func=detailbug&bug_id=116636&group_id=5470 bobalex@rsv.ricoh.com Bug report: If the file position is less than the end of the "file", and a write is performed extending past then end of the file, the data string is corrupted. Solution: in write(), when writing past the end, properly set self.len when newpos is > self.len.
Diffstat (limited to 'Lib/test/test_StringIO.py')
0 files changed, 0 insertions, 0 deletions