Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ Bug #116636 ] Bug in StringIO.write() | Guido van Rossum | 2000-10-12 | 1 | -0/+2 |
| | | | | | | | | | | | | 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. | ||||
* | Add truncate() method to StringIO objects. | Fred Drake | 2000-09-28 | 1 | -0/+13 |
| | | | | This closes SourceForge bug #115527. | ||||
* | Support sizehint in StringIO.readlines, as documented. | Martin v. Löwis | 2000-09-19 | 1 | -1/+5 |
| | |||||
* | Simple changes by Gerrit Holl - move author acknowledgements out of | Guido van Rossum | 2000-02-28 | 1 | -0/+2 |
| | | | | docstrings into comments. | ||||
* | Mass patch by Ka-Ping Yee: | Guido van Rossum | 2000-02-02 | 1 | -27/+27 |
| | | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old). | ||||
* | Raise the right exception (ValueError) for attempted I/O on closed StringIO | Fred Drake | 1998-08-18 | 1 | -1/+14 |
| | | | | | objects; this makes the emulation of file objects a bit better, and the exceptions explain things a bit better. | ||||
* | Patch by Lars Wirzenius to allow f.readline(length). | Guido van Rossum | 1997-07-25 | 1 | -1/+4 |
| | |||||
* | Sjoerd's StringIO speed-up | Guido van Rossum | 1996-06-19 | 1 | -7/+30 |
| | |||||
* | fix default arg for read() -- should be -1 | Guido van Rossum | 1996-01-25 | 1 | -2/+2 |
| | |||||
* | Added flush() method. | Sjoerd Mullender | 1995-07-19 | 1 | -0/+2 |
| | |||||
* | set softspace to 0 in __init__ | Guido van Rossum | 1995-06-22 | 1 | -0/+1 |
| | |||||
* | Two new generally useful modules: types defines names for all built-in types, | Guido van Rossum | 1994-06-23 | 1 | -0/+130 |
StringIO implements pseudo files writing into and reading from strings. |