212 Commits (dd1253abdd8564b095f24107547be0b8ce91e653)

Author SHA1 Message Date
Ezio Melotti 16d2b47837 #15796: Fix \n in readline docstring. Patch by Serhiy Storchaka. 13 years ago
Christian Heimes 8f734ebe94 Fixed reference leak in error branch of _bufferedreader_read_all(). The variable data can contain a bytes object but it wasn't cleaned up when PyList_New() failed. CID 715364 14 years ago
Christian Heimes f47d79fec1 Fixed reference leak in error branch of _bufferedreader_read_all(). The variable data can contain a bytes object but it wasn't cleaned up when PyList_New() failed. CID 715364 14 years ago
Christian Heimes 19606411d3 Fixed out-of-bounce write to rawmode buffer. The fixed size buffer wasn't enlarged for the new 'x' flag. The buffer may contain the 5 flags xrwa+ and the \0 byte 14 years ago
Christian Heimes 89ff3c7f20 Fixed out-of-bounce write to rawmode buffer. The fixed size buffer wasn't enlarged for the new 'x' flag. The buffer may contain the 5 flags xrwa+ and the \0 byte 14 years ago
Stefan Krah 96efdd422c Issue #15868: Fix refleak in bytesio.c (Coverity #715365). 14 years ago
Antoine Pitrou 1d857453b7 Issue #15841: The readable(), writable() and seekable() methods of BytesIO 14 years ago
Antoine Pitrou 6f430e4963 Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 14 years ago
Victor Stinner 401e17d0f0 open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't 14 years ago
Antoine Pitrou 0c1c0d42dc Make TextIOWrapper's documentation clearer by copying the newline argument's description from open(). 14 years ago
Antoine Pitrou 8f328d0c1d Issue #15489: Add a __sizeof__ implementation for BytesIO objects. 14 years ago
Antoine Pitrou 10f0c50a0b Issue #15487: Add a __sizeof__ implementation for buffered I/O objects. 14 years ago
Florent Xicluna 109d57358e Issue #13248: io: Remove obsolete argument "max_buffer_size" of BufferedWriter and BufferedRWPair. 14 years ago
Antoine Pitrou 9235b254dc Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory. 14 years ago
Gregory P. Smith 5135992164 Fixes issue #12268: File readline, readlines and read() or readall() methods 14 years ago
Jesus Cea 9436361e4c Closes #10142: Support for SEEK_HOLE/SEEK_DATA 14 years ago
Hynek Schlawack 7f59fd7c7c Simplify code in fileio_init 14 years ago
Hynek Schlawack 9ed8b4e4ca #10053: Don't close FDs when FileIO.__init__ fails 14 years ago
Victor Stinner f86a5e8a93 Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore 14 years ago
Hynek Schlawack 2cc7156515 #4841: Fix FileIO constructor to honor closefd when called repeatedly 14 years ago
Jesus Cea 990eff0776 Backing out 86dc014cdd74. Not ready yet 14 years ago
Jesus Cea 2b47f0a23f Close #10142: Support for SEEK_HOLE/SEEK_DATA 14 years ago
Antoine Pitrou a3f4457b17 Speed up reading of small files. This avoids multiple C read() calls on pyc files. 14 years ago
Ross Lagerwall 0f9eec19ee Don't Py_DECREF NULL variable in io.IncrementalNewlineDecoder. 14 years ago
Antoine Pitrou 6211b88161 Issue #14437: Fix building the _io module under Cygwin. 14 years ago
Brett Cannon efb00c0cc1 Issue #14153 Create _Py_device_encoding() to prevent _io from having to import 14 years ago
Éric Araujo fab976624d Fix typo in “seperat{or,ion}” 14 years ago
Benjamin Peterson 23d7f12ffb use new generic __dict__ descriptor implementations 14 years ago
Antoine Pitrou 1334884ff2 Issue #13848: open() and the FileIO constructor now check for NUL characters in the file name. 14 years ago
Antoine Pitrou fc1b6f0078 Fix the _io module leaking references when a sub-interpreter is created. 14 years ago
Charles-François Natali d612de10e5 Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode. 14 years ago
Charles-François Natali dc3044c704 Issue #12760: Add a create mode to open(). Patch by David Townshend. 14 years ago
Antoine Pitrou c345ce1a69 Issue #10350: Read and save errno before calling a function which might overwrite it. 14 years ago
Victor Stinner f8facacf30 Fix compiler warnings 14 years ago
Antoine Pitrou 58fcf9f801 Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is 14 years ago
Victor Stinner 9e30aa52fd Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() 14 years ago
Antoine Pitrou e532456965 Issue #13393: In TextIOWrapper.read(n), try to read `n` characters as 14 years ago
Antoine Pitrou 56a220ae4e Issue #13393: BufferedReader.read1() now asks the full requested size to 14 years ago
Antoine Pitrou 5c398e8395 Restore performance of special casings for utf-16 and utf-32 in TextIOWrapper 14 years ago
Antoine Pitrou c28e2e53ba In text I/O, optimize scanning for new lines with 1-byte unicode chars 14 years ago
Antoine Pitrou c1b0bfdb04 Fix memory leak in io.StringIO 14 years ago
Antoine Pitrou de20b0b50e Issue #13149: Speed up append-only StringIO objects. 14 years ago
Martin v. Löwis 767046aab1 Replace {Get,Set,Has}AttrString with *AttrId. 14 years ago
Ross Lagerwall 59142db6d3 Issue #12797: Added custom opener parameter to builtin open() and FileIO.open(). 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Nadeem Vawda d41a98bdd9 Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one. 14 years ago
Antoine Pitrou 6b4883dec0 PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. 14 years ago
Victor Stinner c5af7730e3 Fix FileIO.readall() (new_buffersize()) for large files 14 years ago
Victor Stinner a2a6477ba0 Fix io.FileIO.readall() on Windows 64 bits 14 years ago
Victor Stinner c4f281eba3 Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead 14 years ago