diff options
author | Guido van Rossum <guido@python.org> | 2000-10-12 16:45:37 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-10-12 16:45:37 +0000 |
commit | 92356dd00101527d194d5566c9b10295adbf1323 (patch) | |
tree | 95f97890aa0315bec39f53091167d0a0854ad8f4 /Lib/test/test_StringIO.py | |
parent | f8ba6ff06f5e8ef21743244013cabeec28dd9924 (diff) | |
download | cpython-92356dd00101527d194d5566c9b10295adbf1323.tar.gz |
[ 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