Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes #15488: Closed files keep their buffer alive | Jesus Cea | 2012-10-04 | 1 | -0/+5 |
| | |||||
* | #15796: merge with 3.2. | Ezio Melotti | 2012-09-18 | 3 | -3/+3 |
|\ | |||||
| * | #15796: Fix \n in readline docstring. Patch by Serhiy Storchaka. | Ezio Melotti | 2012-09-18 | 3 | -3/+3 |
| | | |||||
* | | Fixed reference leak in error branch of _bufferedreader_read_all(). The ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | | | | | | | variable data can contain a bytes object but it wasn't cleaned up when PyList_New() failed. CID 715364 | ||||
* | | Fixed out-of-bounce write to rawmode buffer. The fixed size buffer wasn't ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+1 |
| | | | | | | | | enlarged for the new 'x' flag. The buffer may contain the 5 flags xrwa+ and the \0 byte | ||||
* | | Merge 3.2. | Stefan Krah | 2012-09-08 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #15868: Fix refleak in bytesio.c (Coverity #715365). | Stefan Krah | 2012-09-08 | 1 | -1/+3 |
| | | |||||
* | | Issue #15841: The readable(), writable() and seekable() methods of BytesIO | Antoine Pitrou | 2012-09-05 | 2 | -8/+31 |
|\ \ | |/ | | | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura. | ||||
| * | Issue #15841: The readable(), writable() and seekable() methods of BytesIO | Antoine Pitrou | 2012-09-05 | 2 | -8/+31 |
| | | | | | | | | | | and 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. | ||||
| * | 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. | ||||
* | | (Merge 3.2) open() / TextIOWrapper doc: make it explicit than newline='\n' | Victor Stinner | 2012-08-03 | 2 | -6/+6 |
|\ \ | |/ | | | | | doesn't translate newlines on output. | ||||
| * | open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't | Victor Stinner | 2012-08-03 | 2 | -6/+6 |
| | | | | | | | | translate newlines on output. | ||||
* | | Make TextIOWrapper's documentation clearer by copying the newline argument's ↵ | Antoine Pitrou | 2012-08-03 | 1 | -9/+16 |
|\ \ | |/ | | | | | description from open(). | ||||
| * | 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 #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 #15487: Add a __sizeof__ implementation for buffered I/O objects. | Antoine Pitrou | 2012-07-29 | 1 | -0/+14 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #13248: io: Remove obsolete argument "max_buffer_size" of ↵ | Florent Xicluna | 2012-07-07 | 1 | -32/+10 |
| | | | | | | | | BufferedWriter and BufferedRWPair. | ||||
* | | Issue #15247: FileIO now raises an error when given a file descriptor ↵ | Antoine Pitrou | 2012-07-06 | 1 | -12/+5 |
|\ \ | |/ | | | | | pointing to a directory. | ||||
| * | Issue #15247: FileIO now raises an error when given a file descriptor ↵ | Antoine Pitrou | 2012-07-06 | 1 | -12/+5 |
| | | | | | | | | pointing to a directory. | ||||
* | | Fixes issue #12268: File readline, readlines and read() or readall() methods | Gregory P. Smith | 2012-06-24 | 5 | -10/+49 |
|\ \ | |/ | | | | | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods. | ||||
| * | Fixes issue #12268: File readline, readlines and read() or readall() methods | Gregory P. Smith | 2012-06-24 | 5 | -8/+49 |
| | | | | | | | | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods. | ||||
* | | Closes #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-06-22 | 1 | -3/+18 |
| | | |||||
* | | Simplify code in fileio_init | Hynek Schlawack | 2012-06-22 | 1 | -2/+1 |
| | | | | | | | | | | | | If an identical code line is in both at the end of if and else, it can as well stand after the block. :) The code is from 464cf523485e, I didn't see it before checking the commits in the web interface of course. | ||||
* | | #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. | ||||
| * | #10053: Don't close FDs when FileIO.__init__ fails | Hynek Schlawack | 2012-06-21 | 1 | -6/+5 |
| | | | | | | | | Loosely based on the work by Hirokazu Yamamoto. | ||||
* | | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore | Victor Stinner | 2012-06-05 | 2 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False) instead of locale.getpreferredencoding() in text mode if the encoding is not specified. Don't change temporary the locale encoding using locale.setlocale(), use the current locale encoding instead of the user preferred encoding. Explain also in open() documentation that locale.getpreferredencoding(False) is called if the encoding is not specified. | ||||
* | | #4841: Fix FileIO constructor to honor closefd when called repeatedly | Hynek Schlawack | 2012-05-25 | 1 | -3/+7 |
|\ \ | |/ | | | | | Patch by Victor Stinner. | ||||
| * | #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 |
| | | |||||
* | | Backing out 86dc014cdd74. Not ready yet | Jesus Cea | 2012-04-26 | 1 | -18/+3 |
| | | |||||
* | | Close #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-04-26 | 1 | -3/+18 |
| | | |||||
* | | Speed up reading of small files. This avoids multiple C read() calls on pyc ↵ | Antoine Pitrou | 2012-04-17 | 1 | -3/+11 |
| | | | | | | | | files. | ||||
* | | Don't Py_DECREF NULL variable in io.IncrementalNewlineDecoder. | Ross Lagerwall | 2012-04-07 | 1 | -1/+1 |
| | | | | | | | | Found with Clang's Static Analyzer. | ||||
* | | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 1 | -0/+1 |
|\ \ | |/ | |||||
* | | Issue #14153 Create _Py_device_encoding() to prevent _io from having to import | Brett Cannon | 2012-02-29 | 3 | -18/+12 |
| | | | | | | | | the os module. | ||||
* | | Merge 3.2 | Éric Araujo | 2012-02-26 | 2 | -2/+2 |
|\ \ | |/ | |||||
| * | Fix typo in “seperat{or,ion}” | Éric Araujo | 2012-02-26 | 2 | -2/+2 |
| | | |||||
* | | use new generic __dict__ descriptor implementations | Benjamin Peterson | 2012-02-20 | 1 | -14/+1 |
| | | |||||
* | | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -21/+9 |
|\ \ | |/ | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
| * | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -22/+11 |
| | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
* | | Merge refleak fixes from 3.2 | Antoine Pitrou | 2012-01-18 | 1 | -54/+41 |
|\ \ | |/ | |||||
| * | Fix the _io module leaking references when a sub-interpreter is created. | Antoine Pitrou | 2012-01-18 | 1 | -48/+36 |
| | | |||||
* | | Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode. | Charles-François Natali | 2012-01-14 | 1 | -3/+3 |
| | | |||||
* | | Issue #12760: Add a create mode to open(). Patch by David Townshend. | Charles-François Natali | 2012-01-09 | 2 | -21/+45 |
| | | |||||
* | | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 1 | -3/+11 |
|\ \ | |/ | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
| * | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 1 | -3/+11 |
| | | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
* | | Fix compiler warnings | Victor Stinner | 2011-11-22 | 1 | -1/+1 |
| | |