Files
cpython/Modules
Tim Peters 037b3ee44e Patch 1012740: cStringIO's truncate doesn't
truncate() left the stream position unchanged, which meant the
"truncated" data didn't go away:

>>> io.write('abc')
>>> io.truncate(0)
>>> io.write('xyz')
>>> io.getvalue()
'abcxyz'

Patch by Dima Dorfman.
2004-08-21 06:55:43 +00:00
..
2004-08-03 07:06:22 +00:00
2004-07-02 18:57:45 +00:00
2002-07-17 16:30:39 +00:00
2004-01-04 04:00:13 +00:00
2004-07-15 05:32:47 +00:00
2003-07-08 21:17:25 +00:00
2003-12-04 22:17:49 +00:00
2004-08-17 17:29:16 +00:00
2004-08-20 06:26:59 +00:00
2002-08-07 16:21:51 +00:00
2002-10-30 21:08:34 +00:00
2004-06-17 15:55:53 +00:00
2002-07-17 16:30:39 +00:00
2003-02-13 18:44:57 +00:00