Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.6] bpo-25359: Add missed "goto error" after setting an exception. ↵ | Miss Islington (bot) | 2017-09-24 | 1 | -0/+1 |
| | | | | | (GH-3712) (#3714) (cherry picked from commit d6238a76c655e0feb13478505220dc9049f1682f) | ||||
* | [3.6] bpo-31243: Fixed PyArg_ParseTuple failure checks. (GH-3171) (#3233) | Oren Milman | 2017-08-29 | 1 | -5/+13 |
| | | | (cherry picked from commit ba7d7365215d791025d1efd25393c91404f2cfc8) | ||||
* | [3.6] bpo-31271: Fix an assertion failure in io.TextIOWrapper.write. ↵ | Oren Milman | 2017-08-26 | 1 | -0/+7 |
| | | | | | (GH-3201) (#3209) (cherry picked from commit a5b4ea15b61e3f3985f4f0748a18f8b888a63532) | ||||
* | [3.6] bpo-28261: Prevent raising SystemError where PyArg_ParseTuple is used ↵ | Oren Milman | 2017-08-26 | 1 | -0/+16 |
| | | | | to parse non-args. (#3210) | ||||
* | bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. ↵ | Serhiy Storchaka | 2017-03-19 | 1 | -3/+20 |
| | | | | | (#514) (#722) (cherry picked from commit a5af6e1af77ee0f9294c5776478a9c24d9fbab94) | ||||
* | Merge doc fixes from 3.5 | Martin Panter | 2017-01-14 | 1 | -1/+1 |
|\ | |||||
| * | Fix grammar, typos and markup in documentation and code comments | Martin Panter | 2017-01-14 | 1 | -1/+1 |
| | | | | | | | | | | | | * Indent versionchanged at method level, not class level * Mark up ``--help`` to avoid generating an en dash * Use forward slash in Unix command line with a dollar sign ($) prompt | ||||
* | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -2/+2 |
| | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when | Serhiy Storchaka | 2016-11-03 | 1 | -12/+5 |
|\ \ | |/ | | | | | | | the garbage collector is invoked in other thread. Based on patch by Sebastian Cufre. | ||||
| * | Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when | Serhiy Storchaka | 2016-11-03 | 1 | -12/+5 |
| | | | | | | | | | | the garbage collector is invoked in other thread. Based on patch by Sebastian Cufre. | ||||
* | | more PY_LONG_LONG to long long | Benjamin Peterson | 2016-09-08 | 1 | -2/+2 |
| | | |||||
* | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | messages. | ||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 |
| | | |||||
* | | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -8/+4 |
|\ \ | |/ | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
| * | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -8/+4 |
| | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -10/+10 |
| | | | | | | | | private functions. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
|/ | |||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -2/+2 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -2/+2 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #24009: Got rid of using rare "y#" format unit in TextIOWrapper.tell(). | Serhiy Storchaka | 2015-05-06 | 1 | -2/+11 |
| | | | | | | | | | | Parsed value should be bytes, not general robuffer, this is required in other places. | ||||
* | | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -4/+4 |
| | | | | | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | | Use PyArg_ParseTuple (new API) instead of PyArg_Parse (old API) for parsing ↵ | Serhiy Storchaka | 2015-04-19 | 1 | -5/+5 |
| | | | | | | | | tuples. | ||||
* | | Issue #20175: Converted the _io module to Argument Clinic. | Serhiy Storchaka | 2015-04-16 | 1 | -194/+282 |
| | | |||||
* | | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵ | Antoine Pitrou | 2015-04-13 | 1 | -4/+21 |
|\ \ | |/ | | | | | writable text file. | ||||
| * | Issue #22982: Improve BOM handling when seeking to multiple positions of a ↵ | Antoine Pitrou | 2015-04-13 | 1 | -4/+21 |
| | | | | | | | | writable text file. | ||||
* | | Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. | Serhiy Storchaka | 2015-03-30 | 1 | -6/+2 |
|\ \ | |/ | |||||
| * | Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. | Serhiy Storchaka | 2015-03-30 | 1 | -6/+2 |
| | | |||||
* | | merge 3.4 (#23093) | Benjamin Peterson | 2014-12-22 | 1 | -38/+40 |
|\ \ | |/ | |||||
| * | allow more operations to work on detached streams (closes #23093) | Benjamin Peterson | 2014-12-22 | 1 | -38/+40 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | 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 #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 1 | -14/+2 |
|\ \ | |/ | | | | | _PyErr_ChainExceptions() function. | ||||
| * | Issue #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 1 | -14/+2 |
| | | | | | | | | _PyErr_ChainExceptions() function. | ||||
* | | 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. |