43 Commits (66dd94199c00bc059fc70bb246db01b60f5a650a)

Author SHA1 Message Date
Benjamin Peterson 4fa68ab10b raise an ValueError in getvalue() on closed StringIO (closes #12161) 15 years ago
Ezio Melotti 262a47d2b9 Merged revisions 75407,75409-75413,75415,75419-75421 via svnmerge from 16 years ago
Benjamin Peterson 9567112eb7 Merged revisions 76798-76799 via svnmerge from 16 years ago
Benjamin Peterson 414721614f make StringIO like other file objects in that readline(-1) has no effect #7348 16 years ago
Antoine Pitrou e08dd117fa Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn) 17 years ago
Andrew M. Kuchling 3b015c46a5 [Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1) 19 years ago
Andrew M. Kuchling 882680462c [Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1) 19 years ago
Walter Dörwald 0af5d93d8a SF patch #1359365: file and cStringIO raise a ValueError when next() is called 20 years ago
Raymond Hettinger 6065d32325 SF bug #951915: fix bug in StringIO.truncate - length not changed 21 years ago
Raymond Hettinger 513c8bd6f2 Arghh, checked in wrong draft. Replacing with correct one. 22 years ago
Raymond Hettinger 0336e1fe8c Use local variables in StringIO.write(). 22 years ago
Raymond Hettinger deb4da500b Add missing docstrings. 22 years ago
Raymond Hettinger 6ec099658a SF patch #907403: Improvements to cStringIO.writelines() 22 years ago
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r" 22 years ago
Tim Peters 58eb11cf62 Whitespace normalization. 22 years ago
Walter Dörwald c2fcf9bb6b Make the module docstring a raw string, so that the backslash in 22 years ago
Martin v. Löwis 9e62ff287b Patch #822994: Consolidate tests for self.closed. 23 years ago
Guido van Rossum c1265bd9a6 Make StringIO its own iterator, similar to real files. 23 years ago
Fred Drake d679e09970 write(): Special case the common situation of a stream that's only 24 years ago
Walter Dörwald 65230a2de7 Remove uses of the string and types modules: 24 years ago
Tim Peters 8ac1495a6a Whitespace normalization. 24 years ago
Raymond Hettinger d1fa3db52d Added docstrings excerpted from Python Library Reference. 24 years ago
Michael W. Hudson e1c67d1dc0 Make StringIO work in --disable-unicode builds... 24 years ago
Jeremy Hylton e037665f99 Use isinstance() in preference to comparison of type by is. 24 years ago
Guido van Rossum 8ca162f417 Partial introduction of bools where appropriate. 24 years ago
Neal Norwitz 9fb289d826 SF #515000, print result of f.tell() in test() instead of ignoring 24 years ago
Marc-André Lemburg f853be980e Restore Python 2.1 StringIO.py behaviour: support concatenating 24 years ago
Marc-André Lemburg e47df7a211 StringIO patch #462596: let's [c]StringIO accept read buffers on 25 years ago
Barry Warsaw bdefa0b3de __iter__(): New method so that StringIO's can participate in the 25 years ago
Marc-André Lemburg 85d6edfc83 Remove silly EMPTYSTRING global. Saves a global lookup. 25 years ago
Skip Montanaro e99d5ea25b added __all__ lists to a number of Python modules 25 years ago
Fred Drake a63bd1c65b Untabify! (Barry, this is gonna cost you a bottle of wine! ;) 25 years ago
Barry Warsaw c140131995 Change the file's indentation from tabs to 4 spaces per level. 25 years ago
Barry Warsaw c7ed0e3c13 Accept Finn Bock's patch #102208 to hardcode EINVAL to 22 when errno 25 years ago
Guido van Rossum b636dc67ed [ Bug #116636 ] Bug in StringIO.write() 26 years ago
Fred Drake e0a7f4f9d5 Add truncate() method to StringIO objects. 26 years ago
Martin v. Löwis a05fa1d9d4 Support sizehint in StringIO.readlines, as documented. 26 years ago
Guido van Rossum 98d9fd3e68 Simple changes by Gerrit Holl - move author acknowledgements out of 26 years ago
Guido van Rossum 4acc25bd39 Mass patch by Ka-Ping Yee: 26 years ago
Fred Drake ce4ba897be Raise the right exception (ValueError) for attempted I/O on closed StringIO 28 years ago
Guido van Rossum 2e2525fd3c Patch by Lars Wirzenius to allow f.readline(length). 29 years ago
Guido van Rossum d3901028cf Sjoerd's StringIO speed-up 30 years ago
Guido van Rossum f7476c5088 fix default arg for read() -- should be -1 30 years ago
Sjoerd Mullender aa3e163fa1 Added flush() method. 31 years ago
Guido van Rossum 0daa13b188 set softspace to 0 in __init__ 31 years ago
Guido van Rossum 85d8945590 Two new generally useful modules: types defines names for all built-in types, 32 years ago