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
README -rw-r--r-- 3.5 KB
README.readline-2.2 -rw-r--r-- 1.8 KB
ar-fake -rwxr-xr-x 1.3 KB
linkcc -rwxr-xr-x 2.0 KB
linkmodule -rwxr-xr-x 1.8 KB

README

back to top