summaryrefslogtreecommitdiffstats
path: root/Modules/_io/stringio.c
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-25862: Fix several bugs in the _io module. (GH-8026) (GH-8033)Serhiy Storchaka2018-12-041-1/+3
| | | | | | | | | | | They can be exposed when some C API calls fail due to lack of memory. * Failed Py_BuildValue() could cause an assertion error in the following TextIOWrapper.tell(). * initvalue could leak in StringIO.__getstate__() after failed PyDict_Copy(). (cherry picked from commit fdb5a50ef34f7951c3b01eb77b1359725a9ad670)
* Fix spelling (inital), grammar (may translates) in documentation, commentsMartin Panter2016-04-191-2/+2
|
* Issue #15841: The readable(), writable() and seekable() methods of io.BytesIOAntoine Pitrou2012-09-051-3/+16
| | | | | and io.StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* Issue #12434: make StringIO.write error message consistent with Python 2.7 ↵Eli Bendersky2011-07-221-1/+1
| | | | nomenclature
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
|
* Merged revisions 84438 via svnmerge fromAntoine Pitrou2010-09-021-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84438 | antoine.pitrou | 2010-09-02 21:48:07 +0200 (jeu., 02 sept. 2010) | 3 lines BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS. ........
* - Issue #6939: Fix file I/O objects in the `io` module to keep the originalAntoine Pitrou2010-01-311-2/+1
| | | | | | file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon.
* Fix compilation error in debug mode.Antoine Pitrou2009-10-241-3/+0
|
* Manual py3k backport: [svn r74158] Issue #6218: Make io.BytesIO and ↵Antoine Pitrou2009-10-241-6/+141
| | | | io.StringIO picklable.
* Manual py3k backport: [svn r74155] Issue #6242: Fix deallocator of ↵Antoine Pitrou2009-10-241-2/+6
| | | | io.StringIO and io.BytesIO
* backport r73430Benjamin Peterson2009-06-141-9/+0
|
* Issue #6215: backport the 3.1 io libAntoine Pitrou2009-06-121-0/+756