Staging
v0.5.1
https://github.com/python/cpython
Revision b636dc67ed3c351d9631a7900ea05c3394a99518 authored by Guido van Rossum on 12 October 2000, 16:45:37 UTC, committed by Guido van Rossum on 12 October 2000, 16:45:37 UTC
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.
1 parent 2e2a70a
History
Tip revision: b636dc67ed3c351d9631a7900ea05c3394a99518 authored by Guido van Rossum on 12 October 2000, 16:45:37 UTC
[ Bug #116636 ] Bug in StringIO.write()
Tip revision: b636dc6
File Mode Size
.cvsignore -rw-r--r-- 31 bytes
Grammar -rw-r--r-- 4.7 KB
Makefile.in -rw-r--r-- 981 bytes

back to top