summaryrefslogtreecommitdiffstats
path: root/Modules/_bytesio.c
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 80720 via svnmerge fromAntoine Pitrou2010-05-031-0/+1
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80720 | antoine.pitrou | 2010-05-03 18:25:33 +0200 (lun., 03 mai 2010) | 5 lines Issue #7865: The close() method of :mod:`io` objects should not swallow 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-271-1/+0
| | | | | | 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.
* Issue #7249: Methods of io.BytesIO now allow `long` as well as `int` arguments.Antoine Pitrou2009-11-021-8/+8
| | | | | | | | | | | | Merged revisions 76071 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76071 | antoine.pitrou | 2009-11-02 21:47:33 +0100 (lun., 02 nov. 2009) | 4 lines Add acceptance of long ints to test_memoryio.py (in preparation for fix of #7249 in 2.6) ........
* Victor Stinner's patches to check the return result of PyLong_Ssize_tBenjamin Peterson2008-09-301-0/+8
| | | | reviewed by Amaury
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-5/+5
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-5/+5
|
* Backport fast alternate io.BytesIO implementation.Alexandre Vassalotti2008-05-091-0/+755
Merged r62778, r62779, r62802, r62806, r62807, r62808, r62809, r62844, r62846, r62952, r62956.