Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #23524: Replace _PyVerify_fd function with calling ↵ | Steve Dower | 2015-03-06 | 1 | -1/+1 | |
| | | | | | | | | _set_thread_local_invalid_parameter_handler on every thread. | |||||
* | | Issue #23285: Fix handling of EINTR in fileio.c | Victor Stinner | 2015-03-04 | 1 | -28/+46 | |
| | | | | | | | | | | | | | | Fix handling of EINTR: don't return None if PyErr_CheckSignals() raised an exception. Initialize also the length outside the loop to only initialize it once. | |||||
* | | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵ | Steve Dower | 2015-02-21 | 1 | -22/+24 | |
| | | | | | | | | | | | | Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer. | |||||
* | | Issue #5700: io.FileIO() called flush() after closing the file. | Serhiy Storchaka | 2015-02-21 | 1 | -7/+14 | |
|\ \ | |/ | | | | | flush() was not called in close() if closefd=False. | |||||
| * | Issue #5700: io.FileIO() called flush() after closing the file. | Serhiy Storchaka | 2015-02-21 | 1 | -7/+14 | |
| | | | | | | | | flush() was not called in close() if closefd=False. | |||||
* | | Issue #22883: Got rid of outdated references to PyInt and PyString in comments. | Serhiy Storchaka | 2015-02-17 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -55/+70 | |
| | | ||||||
* | | Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer() | Stefan Krah | 2015-02-03 | 1 | -10/+11 | |
| | | | | | | | | and array_buffer_getbuf(). | |||||
* | | Issue #15381: Fixed a bug in BytesIO.write(). | Serhiy Storchaka | 2015-02-03 | 1 | -9/+10 | |
| | | | | | | | | | | | | It was expected that string_size == PyBytes_GET_SIZE(buf) if the buffer is shared, but truncate() and __setstate__() can set string_size without unsharing the buffer. | |||||
* | | Issue #15381: Try to fix refcount bug. Empty and 1-byte buffers are always ↵ | Serhiy Storchaka | 2015-02-03 | 1 | -1/+3 | |
| | | | | | | | | shared. | |||||
* | | Issue #15381: Optimized io.BytesIO to make less allocations and copyings. | Serhiy Storchaka | 2015-02-03 | 1 | -186/+152 | |
| | | ||||||
* | | Issue #23099: Closing io.BytesIO with exported buffer is rejected now to | Serhiy Storchaka | 2015-02-03 | 1 | -0/+1 | |
|\ \ | |/ | | | | | prevent corrupting exported buffer. | |||||
| * | Issue #23099: Closing io.BytesIO with exported buffer is rejected now to | Serhiy Storchaka | 2015-02-03 | 1 | -0/+1 | |
| | | | | | | | | prevent corrupting exported buffer. | |||||
* | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-03 | 1 | -4/+6 | |
|\ \ | |/ | | | | | and PyObject_AsWriteBuffer(). | |||||
| * | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-03 | 1 | -4/+6 | |
| | | | | | | | | and PyObject_AsWriteBuffer(). | |||||
* | | merge 3.4 (#23093) | Benjamin Peterson | 2014-12-21 | 2 | -39/+41 | |
|\ \ | |/ | ||||||
| * | allow more operations to work on detached streams (closes #23093) | Benjamin Peterson | 2014-12-21 | 2 | -39/+41 | |
| | | | | | | | | Patch by Martin Panter. | |||||
* | | Issue #17401: Output the closefd attribute as boolean. | Serhiy Storchaka | 2014-12-02 | 1 | -4/+4 | |
| | | ||||||
* | | merge 3.4 (#22849) | Benjamin Peterson | 2014-11-12 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | fix possible double free in TextIOWrapper.__init__ (closes #22849) | Benjamin Peterson | 2014-11-12 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #17401: document closefd in io.FileIO docs and add to repr | Robert Collins | 2014-10-18 | 1 | -4/+6 | |
| | | | | | | | | | | | | | | | | | | | | closefd was documented in the open docs but not the matching FileIO class documented. Further, closefd, part of the core state for the object was not shown. In review it was noted that the open docs are a little confusing about the interaction between closefd and paths, so tweaked them at the same time. | |||||
* | | Issue #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 3 | -41/+6 | |
|\ \ | |/ | | | | | _PyErr_ChainExceptions() function. | |||||
| * | Issue #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 3 | -41/+6 | |
| | | | | | | | | _PyErr_ChainExceptions() function. | |||||
* | | merge 3.4 (#22517) | Benjamin Peterson | 2014-09-29 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
| * | merge 3.3 (#22517) | Benjamin Peterson | 2014-09-29 | 1 | -0/+2 | |
| |\ | ||||||
| | * | clear BufferedRWPair weakrefs on deallocation (closes #22517) | Benjamin Peterson | 2014-09-29 | 1 | -0/+2 | |
| | | | ||||||
| | * | Issue #20404: reject non-text encodings early in TextIOWrapper. | Georg Brandl | 2014-03-02 | 1 | -12/+22 | |
| | | | ||||||
* | | | Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods. | Berker Peksag | 2014-09-24 | 1 | -3/+5 | |
|\ \ \ | |/ / | | | | | | | Patch by Terry Chia. | |||||
| * | | 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-04 | 1 | -3/+5 | |
| | | | ||||||
* | | | Issue #22215: Now ValueError is raised instead of TypeError when str or bytes | Serhiy Storchaka | 2014-09-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | argument contains not permitted null character or byte. | |||||
* | | | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-16 | 2 | -3/+5 | |
| | | | | | | | | | | | | compiler warnings in the Modules/ subdirectory. | |||||
* | | | Issue #15381: Optimized line reading in io.BytesIO. | Serhiy Storchaka | 2014-08-14 | 1 | -29/+27 | |
| | | | ||||||
* | | | Issue #22003: When initialized from a bytes object, io.BytesIO() now | Antoine Pitrou | 2014-07-29 | 1 | -51/+151 | |
| | | | | | | | | | | | | | | | | | | | | | defers making a copy until it is mutated, improving performance and memory use on some use cases. Patch by David Wilson. | |||||
* | | | properly decref the return value of close() | Benjamin Peterson | 2014-07-04 | 1 | -3/+5 | |
| | | | ||||||
* | | | (Merge 3.4) Issue #21090: io.FileIO.readall() does not ignore I/O errors | Victor Stinner | 2014-07-02 | 1 | -2/+2 | |
|\ \ \ | |/ / | | | | | | | | | | anymore. Before, it ignored I/O errors if at least the first C call read() succeed. | |||||
| * | | 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 #21679: Prevent extraneous fstat() calls during open(). Patch by ↵ | Antoine Pitrou | 2014-06-29 | 2 | -40/+34 | |
| | | | | | | | | | | | | Bohuslav Kabrda. | |||||
* | | | add BufferedIOBase.readinto1 (closes #20578) | Benjamin Peterson | 2014-06-22 | 1 | -6/+60 | |
| | | | | | | | | | | | | Patch by Nikolaus Rath. | |||||
* | | | Issue #10310: Use "unsigned int field:1" instead of "signed int field:1" in a | Victor Stinner | 2014-06-17 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | private structure of the _io module to fix a compiler warning (overflow when assigning the value 1). Fix also a cast in incrementalnewlinedecoder_setstate(). Patch written by Hallvard B Furuseth. | |||||
* | | | PyErr_NormalizeException doesn't like being called with an exception set | Serhiy Storchaka | 2014-06-11 | 3 | -12/+12 | |
|\ \ \ | |/ / | | | | | | | (issues #21677, #21310). | |||||
| * | | PyErr_NormalizeException doesn't like being called with an exception set | Serhiy Storchaka | 2014-06-11 | 3 | -12/+12 | |
| | | | | | | | | | | | | (issues #21677, #21310). | |||||
* | | | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -9/+27 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -9/+27 | |
| | | | ||||||
* | | | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods. | Serhiy Storchaka | 2014-06-09 | 2 | -0/+2 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods. | Serhiy Storchaka | 2014-06-09 | 2 | -0/+2 | |
| | | | ||||||
* | | | backout 0fb7789b5eeb for test breakage (#20578) | Benjamin Peterson | 2014-06-07 | 1 | -61/+6 | |
| | | | ||||||
* | | | add BufferedIOBase.readinto1 (closes #20578) | Benjamin Peterson | 2014-06-07 | 1 | -6/+61 | |
| | | | | | | | | | | | | Patch by Nikolaus Rath. | |||||
* | | | Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵ | Antoine Pitrou | 2014-05-09 | 1 | -4/+5 | |
|\ \ \ | |/ / | | | | | | | | | | | | | flush() on the underlying binary stream. Patch by akira. | |||||
| * | | Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵ | Antoine Pitrou | 2014-05-09 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | flush() on the underlying binary stream. Patch by akira. |