Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove silly EMPTYSTRING global. Saves a global lookup. | Marc-André Lemburg | 2001-02-09 | 1 | -8/+6 |
| | |||||
* | added __all__ lists to a number of Python modules | Skip Montanaro | 2001-01-20 | 1 | -0/+2 |
| | | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation. | ||||
* | Untabify! (Barry, this is gonna cost you a bottle of wine! ;) | Fred Drake | 2000-12-13 | 1 | -105/+105 |
| | |||||
* | Change the file's indentation from tabs to 4 spaces per level. | Barry Warsaw | 2000-12-12 | 1 | -151/+163 |
| | |||||
* | Accept Finn Bock's patch #102208 to hardcode EINVAL to 22 when errno | Barry Warsaw | 2000-12-12 | 1 | -13/+16 |
| | | | | | | | | can't be imported. This makes StringIO.py work with Jython. Also, get rid of the string module by converting to string methods. Shorten some lines by using augmented assignment where appropriate. | ||||
* | [ 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. |