summaryrefslogtreecommitdiffstats
path: root/Modules/_io/bufferedio.c
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 80720 via svnmerge fromAntoine Pitrou2010-05-031-5/+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. ........
* Merged revisions 76805 via svnmerge fromBenjamin Peterson2009-12-131-4/+2
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76805 | benjamin.peterson | 2009-12-13 13:19:07 -0600 (Sun, 13 Dec 2009) | 7 lines accept None as the same as having passed no argument in file types #7349 This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods. ........
* Merged revisions 76502 via svnmerge fromMark Dickinson2009-11-241-2/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76502 | mark.dickinson | 2009-11-24 20:51:48 +0000 (Tue, 24 Nov 2009) | 3 lines Issue #7228: Fix format mismatch when printing something of type off_t. (Should silence some compiler warnings.) ........
* Merged revisions 76007 via svnmerge fromAntoine Pitrou2009-11-011-3/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76007 | antoine.pitrou | 2009-11-01 12:58:22 +0100 (dim., 01 nov. 2009) | 3 lines Buffered I/O: optimize lock taking in the common non-contended case. ........
* Merged revisions 75939 via svnmerge fromMark Dickinson2009-10-291-4/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75939 | mark.dickinson | 2009-10-29 09:46:04 +0000 (Thu, 29 Oct 2009) | 5 lines Roll back ill-considered attempts to fix printf specifier mismatch for off_t. The sensible solution seems to be to implement %lld for PyString_FromFormat(V) and PyErr_Format. See issue #7228. ........
* Merged revisions 75879 via svnmerge fromMark Dickinson2009-10-271-2/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75879 | mark.dickinson | 2009-10-27 21:48:20 +0000 (Tue, 27 Oct 2009) | 3 lines Silence gcc warnings when trying to print an off_t using "lld", on platforms where off_t has type long (e.g., 64-bit Linux). ........
* Merged revisions 75728 via svnmerge fromMark Dickinson2009-10-261-2/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75728 | mark.dickinson | 2009-10-26 19:59:23 +0000 (Mon, 26 Oct 2009) | 3 lines Use correct conversion specifier and length modifier when printing an integer of type off_t. Also, don't assume that long long is available. ........
* Merged revisions 75258 via svnmerge fromAmaury Forgeot d'Arc2009-10-051-6/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75258 | amaury.forgeotdarc | 2009-10-05 22:18:05 +0200 (lun., 05 oct. 2009) | 2 lines Fix compilation warning on Windows, where size_t is 32bit but file offsets are 64bit. ........
* Merged revisions 74336 via svnmerge fromAntoine Pitrou2009-08-061-0/+13
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74336 | antoine.pitrou | 2009-08-06 22:18:29 +0200 (jeu., 06 août 2009) | 8 lines Issue #6629: Fix a data corruption issue in the new `io` package, which could occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or "wb+" mode) after having buffered a certain amount of data for reading. This bug was not present in the pure Python implementation. Yes, this is a serious issue. ........
* move to a naming scheme with all lowercase and underscoresBenjamin Peterson2009-06-121-303/+301
|
* Issue #5761: Add the name of the underlying file to the repr() of various IO ↵Antoine Pitrou2009-05-231-3/+24
| | | | objects.
* implement a detach() method for BufferedIOBase and TextIOBase #5883Benjamin Peterson2009-05-011-4/+52
|
* use NULL for the ends of tablesBenjamin Peterson2009-04-191-4/+4
|
* Issue #5734: BufferedRWPair was poorly tested and had several glaring bugs.Antoine Pitrou2009-04-191-19/+24
| | | | Patch by Brian Quinlan.
* #5502: accelerate binary buffered IO (especially small operations).Antoine Pitrou2009-04-111-104/+154
| | | | On a suggestion by Victor Stinner.
* Merge revision 71222 from trunk: #5615: make it possible to configure ↵Georg Brandl2009-04-051-0/+11
| | | | --without-threads again.
* Issue 5682: Move _io module into its own subdirectory.Alexandre Vassalotti2009-04-041-0/+2139
Reviewed by: Antoine Pitrou