Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified. | Victor Stinner | 2013-06-24 | 2 | -8/+8 |
| | |||||
* | Issue #9566: _io: Use Py_SAFE_DOWNCAST for fix a compiler warning on Windows x64 | Victor Stinner | 2013-06-24 | 1 | -1/+1 |
| | |||||
* | Check for correct macro, code uses S_ISDIR(). | Christian Heimes | 2013-06-23 | 1 | -1/+1 |
|\ | |||||
| * | Check for correct macro, code uses S_ISDIR(). | Christian Heimes | 2013-06-23 | 1 | -1/+1 |
| | | |||||
* | | Merge with 3.3 | Andrew Kuchling | 2013-06-16 | 2 | -4/+5 |
|\ \ | |/ | |||||
| * | Describe 'surrogateescape' in the documentation. | Andrew Kuchling | 2013-06-16 | 2 | -4/+5 |
| | | | | | | | | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015. | ||||
* | | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw | Serhiy Storchaka | 2013-05-28 | 1 | -0/+8 |
|\ \ | |/ | | | | | stream's read() returns more bytes than requested. | ||||
| * | Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw | Serhiy Storchaka | 2013-05-28 | 1 | -0/+8 |
| | | | | | | | | stream's read() returns more bytes than requested. | ||||
* | | FileIO.readall(): remove trailing space from an exception message | Victor Stinner | 2013-05-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #15758: Fix FileIO.readall() so it no longer has O(n**2) complexity. | Richard Oudkerk | 2013-05-17 | 1 | -66/+52 |
| | | |||||
* | | Merge 3.3, issue #17047: remove doubled words found in 2.7 to 3.4 | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
|\ \ | |/ | | | | | Modules/*, as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4 | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
| |\ | | | | | | | | | | Modules/*, as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| | * | 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. | ||||
* | | | Merge #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. Patch by Manuel Jacob. | ||||
| * | | Merge #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. Patch by Manuel Jacob. | ||||
| | * | #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. Patch by Manuel Jacob. | ||||
* | | | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying | Serhiy Storchaka | 2013-02-03 | 1 | -28/+48 |
|\ \ \ | |/ / | | | | | | | | | | 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). | ||||
| * | | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying | Serhiy Storchaka | 2013-02-03 | 1 | -28/+48 |
| |\ \ | | |/ | | | | | | | | | | 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). | ||||
| | * | Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlying | Serhiy Storchaka | 2013-02-03 | 1 | -18/+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 write methods no | Gregory P. Smith | 2013-02-01 | 2 | -3/+9 |
|\ \ \ | |/ / | | | | | | | longer abort early when a write system call is interrupted (EINTR). | ||||
| * | | Additional fix for issue #12268: The io module file object write methods no | Gregory P. Smith | 2013-02-01 | 2 | -3/+9 |
| |\ \ | | |/ | | | | | | | longer abort early when a write system call is interrupted (EINTR). | ||||
| | * | Additional fix for Issue #12268: The io module file object writelines() ↵ | Gregory P. Smith | 2013-02-01 | 2 | -3/+9 |
| | | | | | | | | | | | | methods 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 | -3/+3 |
| |\ \ | | |/ | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| | * | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 2 | -4/+5 |
| | | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
* | | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-14 | 2 | -3/+3 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | ||||
* | | | (Merge 3.3) Issue #16367: Fix FileIO.readall() on Windows for files larger ↵ | Victor Stinner | 2013-01-03 | 1 | -2/+11 |
|\ \ \ | |/ / | | | | | | | than 2 GB. | ||||
| * | | (Merge 3.2) Issue #16367: Fix FileIO.readall() on Windows for files larger ↵ | Victor Stinner | 2013-01-03 | 1 | -2/+11 |
| |\ \ | | |/ | | | | | | | than 2 GB. | ||||
| | * | Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB | Victor Stinner | 2013-01-03 | 1 | -2/+11 |
| | | | |||||
* | | | merge 3.3 (#16597) | Benjamin Peterson | 2012-12-20 | 2 | -9/+41 |
|\ \ \ | |/ / | |||||
| * | | call close on the underlying stream even if flush raises (closes #16597) | Benjamin Peterson | 2012-12-20 | 2 | -9/+41 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | Patch by Serhiy Storchaka. | ||||
| | * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Issue #15478: Raising an OSError doesn't decode or encode the filename anymore | Victor Stinner | 2012-10-30 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | | | | | | Pass the original filename argument to OSError constructor, instead of trying to encode it to or decode it from the filesystem encoding. This change avoids an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded from the filesystem encoding (ANSI code page). | ||||
* | | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified | Christian Heimes | 2012-10-17 | 1 | -12/+6 |
| | | | | | | | | | | | | endianess detection and handling. | ||||
* | | | 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(). |