Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add _PyObject_VaCallFunctionObjArgs() private function | Victor Stinner | 2016-12-08 | 2 | -5/+11 |
| | | | | | Issue #28915: Similar to _PyObject_CallFunctionObjArgs() but use va_list to pass arguments. | ||||
* | time_strptime() uses PyObject_Call() | Victor Stinner | 2016-12-08 | 1 | -7/+13 |
| | | | | | | Issue #28915: Use PyObject_Call() to pass a tuple of positional arguments, instead of relying on _PyObject_CallMethodId() weird behaviour to unpack the tuple. | ||||
* | build_struct_time() uses Py_BuildValue() | Victor Stinner | 2016-12-08 | 1 | -11/+20 |
| | | | | | | Issue #28915: Avoid calling _PyObject_CallMethodId() with "(...)" format to avoid the creation of a temporary tuple: use Py_BuildValue() with _PyObject_CallMethodIdObjArgs(). | ||||
* | Use _PyObject_CallMethodIdObjArgs() | Victor Stinner | 2016-12-08 | 3 | -4/+5 |
| | | | | | | | | | 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. | ||||
* | Don't parenthesis in _PyObject_CallMethodId() format | Victor Stinner | 2016-12-08 | 3 | -3/+3 |
| | | | | | Issue #28915: Without parenthesis, _PyObject_CallMethodId() avoids the creation a temporary tuple, and so is more efficient. | ||||
* | _PyObject_CallFunctionVa() uses fast call | Victor Stinner | 2016-12-08 | 1 | -9/+25 |
| | | | | | | | | Issue #28915: Use _Py_VaBuildStack() to build a C array of PyObject* and then use _PyObject_FastCall(). The function has a special case if the stack only contains one parameter and the parameter is a tuple: "unpack" the tuple of arguments in this case. | ||||
* | Add _Py_VaBuildStack() function | Victor Stinner | 2016-12-08 | 2 | -0/+111 |
| | | | | | Issue #28915: Similar to Py_VaBuildValue(), but work on a C array of PyObject*, instead of creating a tuple. | ||||
* | modsupport: replace int with Py_ssize_t | Victor Stinner | 2016-12-08 | 1 | -8/+8 |
| | | | | | | | | Issue #28915: Py_ssize_t type is better for indexes. The compiler might emit more efficient code for i++. Py_ssize_t is the type of a PyTuple index for example. Replace also "int endchar" with "char endchar". | ||||
* | modsupport: replace int with Py_ssize_t | Victor Stinner | 2016-12-08 | 1 | -17/+20 |
| | | | | Issue #28915. | ||||
* | Add _PyObject_CallFunctionVa() helper | Victor Stinner | 2016-12-08 | 1 | -54/+29 |
| | | | | | | | | | Issue #28915: Add _PyObject_CallFunctionVa() helper to factorize code of functions: * PyObject_CallFunction() * _PyObject_CallFunction_SizeT() * callmethod() | ||||
* | Add _PyObject_FastCallVa() helper | Victor Stinner | 2016-12-08 | 1 | -71/+37 |
| | | | | | | | | | | | Issue #28915: Add _PyObject_FastCallVa() helper to factorize code of functions: * PyObject_CallFunctionObjArgs() * PyObject_CallMethodObjArgs() * _PyObject_CallMethodIdObjArgs() Inline objargs_mkstack() into _PyObject_FastCallVa(), remove objargs_mkstack(). | ||||
* | Issue #28896: Deprecate WindowsRegistryFinder | Steve Dower | 2016-12-08 | 4 | -0/+18 |
|\ | |||||
| * | Issue #28896: Deprecate WindowsRegistryFinder | Steve Dower | 2016-12-07 | 4 | -0/+21 |
| | | |||||
* | | Null merge 3.6 | Victor Stinner | 2016-12-08 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #28770: Update python-gdb.py for fastcalls | Victor Stinner | 2016-11-22 | 2 | -26/+41 |
| | | | | | | | | | | | | | | | | Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict() frames. Thanks to the new code to handle fast calls, python-gdb.py is now also able to detect the <built-in id method of module ...> frame. | ||||
* | | Issue #26941: Merge 3.6. | Xavier de Gaye | 2016-12-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator. | Xavier de Gaye | 2016-12-08 | 1 | -1/+1 |
| | | |||||
* | | Issue #26940: Merge 3.6. | Xavier de Gaye | 2016-12-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator. | Xavier de Gaye | 2016-12-08 | 1 | -1/+1 |
| | | |||||
* | | Issue #26939: Merge 3.6. | Xavier de Gaye | 2016-12-08 | 3 | -1/+20 |
|\ \ | |/ | |||||
| * | Issue #26939: Add the support.setswitchinterval() function to fix | Xavier de Gaye | 2016-12-08 | 3 | -1/+23 |
| | | | | | | | | test_functools hanging on the Android armv7 qemu emulator. | ||||
* | | merge 3.6 (#28898) | Benjamin Peterson | 2016-12-08 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | guard HAVE_LONG_LONG definition to prevent redefinition (#28898) | Benjamin Peterson | 2016-12-08 | 1 | -2/+3 |
| | | |||||
* | | Issue #28900: Update documentation sidebar for 3.6.0rc. | Ned Deily | 2016-12-08 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #28900: Update documentation sidebar for 3.6.0rc. | Ned Deily | 2016-12-08 | 1 | -1/+2 |
| |\ | |||||
| | * | Issue #28900: Update documentation sidebar for 3.6.0rc. | Ned Deily | 2016-12-08 | 1 | -1/+2 |
| | | | |||||
* | | | Merge 3.6 (issue #28635) | Yury Selivanov | 2016-12-08 | 1 | -9/+0 |
|\ \ \ | |/ / | |||||
| * | | Issue #28635: Drop the note that whatsnew is incomplete | Yury Selivanov | 2016-12-08 | 1 | -9/+0 |
| | | | |||||
* | | | Issue #28818: Simplify lookdict functions | INADA Naoki | 2016-12-07 | 3 | -125/+97 |
| | | | |||||
* | | | Merge from 3.6. | Serhiy Storchaka | 2016-12-07 | 2 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Merge from 3.5. | Serhiy Storchaka | 2016-12-07 | 2 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | Change order of io.UnsupportedOperation base classes. | Serhiy Storchaka | 2016-12-07 | 2 | -2/+2 |
| | | | | | | | | | | | | This makes tests passing after changes by issue #5322. | ||||
* | | | null merge from 3.6 | INADA Naoki | 2016-12-07 | 0 | -0/+0 |
|\ \ \ | |/ / | |||||
| * | | Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict. | INADA Naoki | 2016-12-07 | 2 | -5/+22 |
| | | | | | | | | | | | | Improve speed of dict literal with constant keys up to 30%. | ||||
* | | | Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code. | Serhiy Storchaka | 2016-12-07 | 3 | -1/+119 |
|\ \ \ | |/ / | | | | | | | Original patch by Andreas Stührk. | ||||
| * | | Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code. | Serhiy Storchaka | 2016-12-07 | 3 | -1/+119 |
| |\ \ | | |/ | | | | | | | Original patch by Andreas Stührk. | ||||
| | * | Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code. | Serhiy Storchaka | 2016-12-02 | 3 | -1/+119 |
| | | | | | | | | | | | | Original patch by Andreas Stührk. | ||||
* | | | Issue #28847: A deprecation warning is now emitted if the index file is missed | Serhiy Storchaka | 2016-12-07 | 3 | -3/+24 |
| | | | | | | | | | | | | | | | and recreated in the 'r' and 'w' modes (will be an error in future Python releases). | ||||
* | | | Issue #28847: dbm.dumb now supports reading read-only files and no longer | Serhiy Storchaka | 2016-12-07 | 4 | -4/+26 |
|\ \ \ | |/ / | | | | | | | writes the index file when it is not changed. | ||||
| * | | Issue #28847: dbm.dumb now supports reading read-only files and no longer | Serhiy Storchaka | 2016-12-07 | 4 | -4/+26 |
| |\ \ | | |/ | | | | | | | writes the index file when it is not changed. | ||||
| | * | Issue #28847: dbm.dumb now supports reading read-only files and no longer | Serhiy Storchaka | 2016-12-07 | 4 | -5/+28 |
| | | | | | | | | | | | | writes the index file when it is not changed. | ||||
* | | | null merge from 3.6 | Ned Deily | 2016-12-07 | 0 | -0/+0 |
|\ \ \ | |/ / | |||||
| * | | Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final ↵ | Ned Deily | 2016-12-07 | 2 | -3/+15 |
| | | | | | | | | | | | | will be cherrypicked and merged here. | ||||
* | | | merge tag from 3.6 | Ned Deily | 2016-12-07 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | Added tag v3.6.0rc1 for changeset 29a273eee9a5 | Ned Deily | 2016-12-07 | 1 | -0/+1 |
| | | | |||||
| * | | Version bump for 3.6.0rc1v3.6.0rc1 | Ned Deily | 2016-12-07 | 3 | -6/+6 |
| | | | |||||
| * | | Update pydoc topics for 3.6.0rc1 | Ned Deily | 2016-12-06 | 1 | -4/+37 |
| | | | |||||
* | | | _PyObject_FastCallKeywords() now calls directly tp_call | Victor Stinner | 2016-12-06 | 1 | -15/+45 |
| | | | | | | | | | | | | | | | _PyObject_FastCallKeywords() doesn't call _PyObject_FastCallDict() anymore: call directly tp_call. | ||||
* | | | Regenerate configure with autoconf 2.69. | Ned Deily | 2016-12-06 | 1 | -13/+1 |
|\ \ \ | |/ / | |||||
| * | | Regenerate configure with autoconf 2.69. | Ned Deily | 2016-12-06 | 1 | -13/+1 |
| | | |