summaryrefslogtreecommitdiffstats
path: root/Modules/_io/bytesio.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31095: Fix potential crash during GC (GH-3197)INADA Naoki2017-09-041-0/+1
| | | (cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c)
* Issue #20699: Document that “io” methods should accept memoryviewMartin Panter2016-06-031-1/+1
| | | | | | This matches the usage by BufferedReader, BufferedWriter, etc. Also document and test that the write() methods should only access their argument before they return.
* Fix typos in code comment and documentationMartin Panter2016-04-161-1/+1
|
* Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-1/+1
| | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* Issue #25030: Do not document seek() as if it accepts keyword argumentsMartin Panter2015-09-111-1/+1
| | | | Patch from Shiyao Ma.
* Issue #15841: The readable(), writable() and seekable() methods of io.BytesIOAntoine Pitrou2012-09-051-5/+15
| | | | | and io.StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* Issue #15489: Add a __sizeof__ implementation for BytesIO objects.Antoine Pitrou2012-07-291-0/+12
| | | | Patch by Serhiy Storchaka.
* Merged revisions 86587 via svnmerge fromBenjamin Peterson2010-11-201-3/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86587 | benjamin.peterson | 2010-11-20 11:24:04 -0600 (Sat, 20 Nov 2010) | 1 line correct logic when pos is after the string #10467 ........
* 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 #7865: The close() method of :mod:`io` objects should not swallowAntoine Pitrou2010-05-031-0/+1
| | | | | exceptions raised by the implicit flush(). Also ensure that calling close() several times is supported. Patch by Pascal Chambon.
* - 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.
* Manual py3k backport: [svn r74316] Issue #5449: Fix io.BytesIO to not accept ↵Antoine Pitrou2009-10-241-1/+3
| | | | arbitrary keywords
* Manual py3k backport: [svn r74158] Issue #6218: Make io.BytesIO and ↵Antoine Pitrou2009-10-241-3/+119
| | | | io.StringIO picklable.
* Manual py3k backport: [svn r74155] Issue #6242: Fix deallocator of ↵Antoine Pitrou2009-10-241-4/+4
| | | | io.StringIO and io.BytesIO
* Issue #6215: backport the 3.1 io libAntoine Pitrou2009-06-121-0/+764