| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #22413: Document newline effect on StringIO initializer and getvalue | Martin Panter | 2015-10-10 | 1 | -1/+6 |
| | | | | | Also add to comment in the C code. | ||||
| * | Issue #25030: Do not document seek() as if it accepts keyword arguments | Martin Panter | 2015-09-11 | 1 | -1/+1 |
| | | | | | Patch from Shiyao Ma. | ||||
| * | Issue #19543: Emit deprecation warning for known non-text encodings. | Serhiy Storchaka | 2015-05-31 | 1 | -12/+22 |
| | | | | | | | | | | | Backported issues #19619: encode() and decode() methods and constructors of str, unicode and bytearray classes now emit deprecation warning for known non-text encodings when Python is ran with the -3 option. Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the internal codec marking system added to emit deprecation warning for known non-text encodings at stream construction time when Python is ran with the -3 option. | ||||
| * | Issue #21859: Corrected FileIO docstrings. | Serhiy Storchaka | 2015-04-10 | 1 | -14/+17 |
| | | |||||
| * | Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. | Serhiy Storchaka | 2015-03-30 | 1 | -5/+2 |
| | | |||||
| * | Issue #23781: Add private helper function _PyErr_ReplaceException() that | Serhiy Storchaka | 2015-03-30 | 3 | -26/+6 |
| | | | | | | corresponds _PyErr_ChainExceptions() in Python 3 to help porting patches from Python 3. | ||||
| * | Issue #21802: The reader in BufferedRWPair now is closed even when closing | Serhiy Storchaka | 2015-03-24 | 1 | -4/+17 |
| | | | | | writer failed in BufferedRWPair.close(). | ||||
| * | Issue #5700: io.FileIO() called flush() after closing the file. | Serhiy Storchaka | 2015-02-20 | 1 | -7/+7 |
| | | | | | flush() was not called in close() if closefd=False. | ||||
| * | allow more operations to work on detached streams (closes #23093) | Benjamin Peterson | 2014-12-22 | 2 | -38/+39 |
| | | | | | Patch by Martin Panter. | ||||
| * | clear BufferedRWPair weakrefs on deallocation (closes #22517) | Benjamin Peterson | 2014-09-30 | 1 | -0/+2 |
| | | |||||
| * | Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods. | Berker Peksag | 2014-09-24 | 1 | -3/+5 |
| | | | | | Patch by Terry Chia. | ||||
| * | properly decref the return value of close() | Benjamin Peterson | 2014-07-05 | 1 | -3/+5 |
| | | |||||
| * | Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before, | Victor Stinner | 2014-07-02 | 1 | -2/+2 |
| | | | | | it ignored I/O errors if at least the first C call read() succeed. | ||||
| * | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -9/+21 |
| | | |||||
| * | Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize | Kristján Valur Jónsson | 2014-04-25 | 1 | -12/+3 |
| | | |||||
| * | #15840: make docs consistent by saying operations on closed files raise ↵ | Andrew Kuchling | 2014-04-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | ValueError. Patch by Caelyn McAulay. Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an operation on a closed stream raised IOError; generally the C implementation have a macro to check for the stream being closed, and these macros all raised ValueError. If we find any, a new bug should be opened. | ||||
| * | Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair. | Serhiy Storchaka | 2014-02-12 | 1 | -2/+7 |
| | | | | | Based on patch by Stephen Tu. | ||||
| * | Issue #18876: The FileIO.mode attribute now better reflects the actual mode ↵ | Antoine Pitrou | 2013-09-04 | 1 | -10/+13 |
| | | | | | | | under which the file was opened. Patch by Erik Bray. | ||||
| * | Issue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace" | Serhiy Storchaka | 2013-08-20 | 1 | -1/+1 |
| | | | | | error handler on 64-bit platforms. Patch by Yogesh Chaudhari. | ||||
| * | Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*, | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
| | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | #17275: Fix class name in init errors in C bufferedio classes. | R David Murray | 2013-02-24 | 1 | -2/+2 |
| | | | | | | | This fixes an apparent copy-and-paste error. Original patch by Manuel Jacob. | ||||
| * | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying | Serhiy Storchaka | 2013-02-03 | 1 | -19/+44 |
| | | | | | | stream or a decoder produces data of an unexpected type (i.e. when io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec). | ||||
| * | Additional fix for Issue #12268: The io module file object writelines() methods | Gregory P. Smith | 2013-02-01 | 2 | -3/+9 |
| | | | | | no longer abort early when one of its write system calls is interrupted (EINTR). | ||||
| * | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 2 | -4/+5 |
| | | | | | | | | when result of PyInt_AsLong() or PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| * | Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB | Victor Stinner | 2013-01-03 | 1 | -2/+11 |
| | | |||||
| * | call close on the underlying stream even if flush raises (#16597) | Benjamin Peterson | 2012-12-20 | 2 | -9/+33 |
| | | |||||
| * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | | Patch by Serhiy Storchaka. | ||||
| * | Fixes Issue #12268 for the io module - File readline, readlines and | Gregory P. Smith | 2012-10-12 | 5 | -8/+49 |
| | | | | | | | | | | | | read or readall methods no longer lose data when an underlying read system call is interrupted within an io module object. IOError is no longer raised due to a read system call returning EINTR from within these methods. This is a backport of changeset 781b95159954 from 3.2. The earlier 2.7 changeset 67dc99a989cd already fixed this for the builtin python 2.x file object. | ||||
| * | #15796: Fix \n in readline docstring. | Ezio Melotti | 2012-09-18 | 1 | -1/+1 |
| | | |||||
| * | Issue #15841: The readable(), writable() and seekable() methods of io.BytesIO | Antoine Pitrou | 2012-09-05 | 2 | -8/+31 |
| | | | | | | and io.StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura. | ||||
| * | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵ | Antoine Pitrou | 2012-08-15 | 1 | -1/+4 |
| | | | | | | | errors correctly. Patch by Serhiy Storchaka. | ||||
| * | Make TextIOWrapper's documentation clearer by copying the newline argument's ↵ | Antoine Pitrou | 2012-08-03 | 1 | -9/+16 |
| | | | | | description from open(). | ||||
| * | Issue #15489: Add a __sizeof__ implementation for BytesIO objects. | Antoine Pitrou | 2012-07-29 | 1 | -0/+12 |
| | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #15487: Add a __sizeof__ implementation for buffered I/O objects. | Antoine Pitrou | 2012-07-29 | 1 | -0/+14 |
| | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #15247: FileIO now raises an error when given a file descriptor ↵ | Antoine Pitrou | 2012-07-06 | 1 | -12/+5 |
| | | | | | pointing to a directory. | ||||
| * | #10053: Don't close FDs when FileIO.__init__ fails | Hynek Schlawack | 2012-06-21 | 1 | -6/+6 |
| | | | | | Loosely based on the work by Hirokazu Yamamoto. | ||||
| * | #4841: Fix FileIO constructor to honor closefd when called repeatedly | Hynek Schlawack | 2012-05-25 | 1 | -3/+7 |
| | | | | | Patch by Victor Stinner. | ||||
| * | Issue #14437: Fix building the _io module under Cygwin. | Antoine Pitrou | 2012-03-31 | 1 | -1/+1 |
| | | |||||
| * | Fix typo “seperator” | Éric Araujo | 2012-02-26 | 2 | -2/+2 |
| | | |||||
| * | Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is | Antoine Pitrou | 2011-11-21 | 1 | -32/+46 |
| | | | | | | | | raised when the wrapped raw file is non-blocking and the write would block. Previous code assumed that the raw write() would raise BlockingIOError, but RawIOBase.write() is defined to returned None when the call would block. Patch by sbt. | ||||
| * | Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ↵ | Nadeem Vawda | 2011-10-13 | 1 | -15/+4 |
| | | | | | | | linear-time one. Also fix the builtin file class and the bz2 module, which used the same algorithm. | ||||
| * | Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle | Charles-François Natali | 2011-10-06 | 1 | -0/+5 |
| | | | | | | would be finalized after the reference to its underlying BufferedRWPair's writer got cleared by the GC. | ||||
| * | Issue #12213: Fix a buffering bug with interleaved reads and writes that | Antoine Pitrou | 2011-08-20 | 1 | -59/+58 |
| | | | | | could appear on io.BufferedRandom streams. | ||||
| * | Issue #12434: make StringIO.write error message consistent with Python 2.7 ↵ | Eli Bendersky | 2011-07-22 | 1 | -1/+1 |
| | | | | | nomenclature | ||||
| * | Issue #9611, #9015: FileIO.read(), FileIO.readinto(), FileIO.write() and | Victor Stinner | 2011-07-05 | 1 | -4/+26 |
| | | | | | os.write() clamp the length to INT_MAX on Windows. | ||||
| * | Issue #12175: RawIOBase.readall() now returns None if read() returns None. | Victor Stinner | 2011-05-25 | 1 | -0/+8 |
| | | |||||
| * | Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if | Victor Stinner | 2011-05-25 | 1 | -0/+2 |
| | | | | | the file is closed. | ||||
| * | Issue #12062: In the `io` module, fix a flushing bug when doing a certain | Antoine Pitrou | 2011-05-12 | 1 | -1/+1 |
| | | | | | | | type of I/O sequence on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again). | ||||
| * | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 2 | -2/+2 |
| | | |||||
| * | Merged revisions 88610 via svnmerge from | Antoine Pitrou | 2011-02-25 | 1 | -2/+49 |
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88610 | antoine.pitrou | 2011-02-25 22:24:11 +0100 (ven., 25 févr. 2011) | 4 lines Issue #10956: Buffered I/O classes retry reading or writing after a signal has arrived and the handler returned successfully. ........ | ||||
