Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
| | | | | compiler warnings in the Modules/ subdirectory. | ||||
* | 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 | 1 | -4/+4 |
|\ | | | | | | | (issues #21677, #21310). | ||||
| * | PyErr_NormalizeException doesn't like being called with an exception set | Serhiy Storchaka | 2014-06-11 | 1 | -4/+4 |
| | | | | | | | | (issues #21677, #21310). | ||||
* | | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods. | Serhiy Storchaka | 2014-06-09 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods. | Serhiy Storchaka | 2014-06-09 | 1 | -0/+1 |
| | | |||||
* | | Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵ | Antoine Pitrou | 2014-05-08 | 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-08 | 1 | -4/+5 |
| | | | | | | | | | | | | flush() on the underlying binary stream. Patch by akira. | ||||
* | | Issue #21057: TextIOWrapper now allows the underlying binary stream's read() ↵ | Antoine Pitrou | 2014-04-29 | 1 | -14/+20 |
|/ | | | | | | or read1() method to return an arbitrary bytes-like object (such as a memoryview). Patch by Nikolaus Rath. | ||||
* | Close #20404: blacklist non-text encodings in io.TextIOWrapper | Nick Coghlan | 2014-02-04 | 1 | -12/+22 |
| | | | | | | | | | - io.TextIOWrapper (and hence the open() builtin) now use the internal codec marking system added for issue #19619 - also tweaked the C code to only look up the encoding once, rather than multiple times - the existing output type checks remain in place to deal with unmarked third party codecs. | ||||
* | Issue #20037: Avoid crashes when doing text I/O late at interpreter shutdown. | Antoine Pitrou | 2013-12-21 | 1 | -2/+7 |
| | |||||
* | Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵ | Antoine Pitrou | 2013-10-23 | 1 | -2/+2 |
|\ | | | | | | | in some C compilers. | ||||
| * | Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵ | Antoine Pitrou | 2013-10-23 | 1 | -2/+2 |
| | | | | | | | | in some C compilers. | ||||
* | | Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms. | Serhiy Storchaka | 2013-08-20 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Yogesh Chaudhari. | ||||
| * | Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms. | Serhiy Storchaka | 2013-08-20 | 1 | -1/+1 |
| | | | | | | | | Patch by Yogesh Chaudhari. | ||||
* | | Issue #18608: Avoid keeping a strong reference to the locale module inside ↵ | Antoine Pitrou | 2013-08-01 | 1 | -27/+21 |
| | | | | | | | | the _io module. | ||||
* | | Issue #18112: PEP 442 implementation (safe object finalization). | Antoine Pitrou | 2013-07-30 | 1 | -8/+29 |
| | | |||||
* | | Issue #9566: _io: Use Py_SAFE_DOWNCAST for fix a compiler warning on Windows x64 | Victor Stinner | 2013-06-24 | 1 | -1/+1 |
| | | |||||
* | | Merge with 3.3 | Andrew Kuchling | 2013-06-16 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Describe 'surrogateescape' in the documentation. | Andrew Kuchling | 2013-06-16 | 1 | -2/+3 |
| | | | | | | | | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015. | ||||
* | | 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 | 1 | -2/+5 |
|\ \ \ | |/ / | | | | | | | 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 | 1 | -2/+5 |
| |\ \ | | |/ | | | | | | | 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 | 1 | -2/+5 |
| | | | | | | | | | | | | 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 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | | | | | | | 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 | 1 | -1/+1 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | ||||
* | | | merge 3.3 (#16597) | Benjamin Peterson | 2012-12-20 | 1 | -4/+20 |
|\ \ \ | |/ / | |||||
| * | | call close on the underlying stream even if flush raises (closes #16597) | Benjamin Peterson | 2012-12-20 | 1 | -4/+20 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | 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. | ||||
* | | #15796: merge with 3.2. | Ezio Melotti | 2012-09-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #15796: Fix \n in readline docstring. Patch by Serhiy Storchaka. | Ezio Melotti | 2012-09-18 | 1 | -1/+1 |
| | | |||||
* | | 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 | 1 | -3/+3 |
|\ \ | |/ | | | | | doesn't translate newlines on output. | ||||
| * | open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't | Victor Stinner | 2012-08-03 | 1 | -3/+3 |
| | | | | | | | | 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(). | ||||
* | | Fixes issue #12268: File readline, readlines and read() or readall() methods | Gregory P. Smith | 2012-06-24 | 1 | -2/+14 |
|\ \ | |/ | | | | | | | | | 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 | 1 | -2/+14 |
| | | | | | | | | | | | | 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. | ||||
* | | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore | Victor Stinner | 2012-06-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Don't Py_DECREF NULL variable in io.IncrementalNewlineDecoder. | Ross Lagerwall | 2012-04-07 | 1 | -1/+1 |
| | | | | | | | | Found with Clang's Static Analyzer. | ||||
* | | Issue #14153 Create _Py_device_encoding() to prevent _io from having to import | Brett Cannon | 2012-02-29 | 1 | -4/+7 |
| | | | | | | | | the os module. | ||||
* | | Merge 3.2 | Éric Araujo | 2012-02-26 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix typo in “seperat{or,ion}” | Éric Araujo | 2012-02-26 | 1 | -1/+1 |
| | | |||||
* | | Fix compiler warnings | Victor Stinner | 2011-11-22 | 1 | -1/+1 |
| | | |||||
* | | Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() | Victor Stinner | 2011-11-21 | 1 | -2/+2 |
| | | | | | | | | And PyUnicode_GetSize() => PyUnicode_GetLength() | ||||
* | | Issue #13393: In TextIOWrapper.read(n), try to read `n` characters as | Antoine Pitrou | 2011-11-18 | 1 | -5/+9 |
| | | | | | | | | once rather than limit ourselves to the default chunk size. | ||||
* | | Restore performance of special casings for utf-16 and utf-32 in TextIOWrapper | Antoine Pitrou | 2011-11-13 | 1 | -18/+12 |
| | |