Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716) | Serhiy Storchaka | 2017-03-30 | 16 | -174/+59 |
| | | | if pass `accept={int, NoneType}`. | ||||
* | bpo-29878: Add global instances of int for 0 and 1. (#852) | Serhiy Storchaka | 2017-03-30 | 3 | -12/+7 |
| | |||||
* | bpo-6532: Make the thread id an unsigned integer. (#781) | Serhiy Storchaka | 2017-03-23 | 1 | -1/+1 |
| | | | | | | | | | | | * bpo-6532: Make the thread id an unsigned integer. From C API side the type of results of PyThread_start_new_thread() and PyThread_get_thread_ident(), the id parameter of PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState changed from "long" to "unsigned long". * Restore a check in thread_get_ident(). | ||||
* | bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. ↵ | Serhiy Storchaka | 2017-03-21 | 4 | -4/+4 |
| | | | | (#748) | ||||
* | bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) | Serhiy Storchaka | 2017-03-19 | 3 | -8/+45 |
| | |||||
* | bpo-29730: replace some calls to PyNumber_Check and improve some error ↵ | Oren Milman | 2017-03-12 | 3 | -7/+16 |
| | | | | messages (#650) | ||||
* | bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485) | Serhiy Storchaka | 2017-03-12 | 4 | -11/+11 |
| | |||||
* | bpo-29741: Clean up C implementations of BytesIO and StringIO. (#606) | orenmn | 2017-03-10 | 4 | -120/+68 |
| | | | Some BytesIO methods now accept not just int subclasses but other int-like types. | ||||
* | Merge from 3.6 | Steve Dower | 2017-02-05 | 1 | -1/+13 |
|\ | |||||
| * | Adds precheck for console filename to fix Windows 7. | Steve Dower | 2017-02-05 | 1 | -1/+13 |
| | | |||||
* | | Merge issue #28164 and issue #29409 | Steve Dower | 2017-02-04 | 2 | -37/+51 |
|\ \ | |/ | |||||
| * | Issue #28164: Correctly handle special console filenames (patch by Eryk Sun) | Steve Dower | 2017-02-04 | 1 | -20/+47 |
| | | |||||
| * | Issue #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun) | Steve Dower | 2017-02-04 | 1 | -17/+14 |
| | | |||||
* | | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -4/+2 |
| | | | | | | | | possible. Patch is writen with Coccinelle. | ||||
* | | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 5 | -38/+82 |
| | | | | | | | | | | | | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using "boring" positional arguments. Manually fix _elementtree: _elementtree_XMLParser_doctype() must remain consistent with the clinic code. | ||||
* | | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 8 | -56/+120 |
| | | | | | | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments. | ||||
* | | Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords | Victor Stinner | 2017-01-17 | 2 | -2/+2 |
| | | | | | | | | Issue #29286. | ||||
* | | Merge doc fixes from 3.6 | Martin Panter | 2017-01-14 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | 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 | ||||
* | | | Issue #28768: Fix implicit declaration of function _setmode. Patch by ↵ | Steve Dower | 2016-12-28 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | Masayuki Yamamoto | ||||
| * | | Issue #28768: Fix implicit declaration of function _setmode. Patch by ↵ | Steve Dower | 2016-12-28 | 1 | -0/+3 |
| | | | | | | | | | | | | Masayuki Yamamoto | ||||
* | | | Use _PyObject_CallMethodIdObjArgs() in _io | Victor Stinner | 2016-12-09 | 5 | -10/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string. | ||||
* | | | Use _PyObject_CallMethodIdObjArgs() | Victor Stinner | 2016-12-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() when the format string only use the format 'O' for objects, like "(O)". _PyObject_CallMethodIdObjArgs() avoids the code to parse a format string and avoids the creation of a temporary tuple. | ||||
* | | | Merge from 3.6. | Serhiy Storchaka | 2016-12-07 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge from 3.5. | Serhiy Storchaka | 2016-12-07 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Change order of io.UnsupportedOperation base classes. | Serhiy Storchaka | 2016-12-07 | 1 | -1/+1 |
| | | | | | | | | | | | | This makes tests passing after changes by issue #5322. | ||||
* | | | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 2 | -2/+2 |
| | | | | | | | | | | | | UTF-8 represenatation of Unicode objects. | ||||
* | | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 2 | -3/+3 |
|\ \ \ | |/ / | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
| * | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 2 | -3/+3 |
| | | | | | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 2 | -4/+4 |
|\ \ \ | |/ / | | | | | | | | | | | | | _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 | 2 | -4/+4 |
| |\ \ | | |/ | | | | | | | | | | | | | _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. | ||||
| | * | 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 #23214: Implement optional BufferedReader, BytesIO read1() argument | Martin Panter | 2016-10-20 | 4 | -18/+37 |
|/ / | |||||
* | | Issue #28162: Fixes Ctrl+Z handling in console readall() | Steve Dower | 2016-10-08 | 1 | -20/+29 |
| | | |||||
* | | Issue #28217: Adds _testconsole module to test console input. Fixes some ↵ | Steve Dower | 2016-10-03 | 2 | -12/+45 |
| | | | | | | | | issues found by the tests. | ||||
* | | Issue #28277: remove linefeed character from iomodule.h. Patch by Michael Felt | Christian Heimes | 2016-09-26 | 1 | -1/+1 |
| | | |||||
* | | merge 3.5 (#28184) | Benjamin Peterson | 2016-09-20 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #28161: Opening CON for write access fails | Steve Dower | 2016-09-17 | 1 | -14/+31 |
| | | | | | | | | | | | | Issue #28162: WindowsConsoleIO readall() fails if first line starts with Ctrl+Z Issue #28163: WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle Issue #28164: _PyIO_get_console_type fails for various paths | ||||
* | | Issue #27810: Regenerate Argument Clinic. | Serhiy Storchaka | 2016-09-11 | 2 | -8/+8 |
| | | |||||
* | | Issue #1602: Windows console doesn't input or print Unicode (PEP 528) | Steve Dower | 2016-08-31 | 4 | -3/+1458 |
| | | | | | | | | Closes #17602: Adds a readline implementation for the Windows console | ||||
* | | Issue #23524: Finish removing _PyVerify_fd from sources | Steve Dower | 2016-09-08 | 1 | -26/+13 |
| | | |||||
* | | more PY_LONG_LONG to long long | Benjamin Peterson | 2016-09-08 | 2 | -9/+9 |
| | | |||||
* | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 1 | -1/+1 |
| | | |||||
* | | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 1 | -1/+1 |
| | | |||||
* | | Issue #27574: Decreased an overhead of parsing keyword arguments in functions | Serhiy Storchaka | 2016-08-14 | 6 | -26/+36 |
| | | | | | | | | implemented with using Argument Clinic. |