summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add _PyObject_VaCallFunctionObjArgs() private functionVictor Stinner2016-12-082-5/+11
| | | | | Issue #28915: Similar to _PyObject_CallFunctionObjArgs() but use va_list to pass arguments.
* time_strptime() uses PyObject_Call()Victor Stinner2016-12-081-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 Stinner2016-12-081-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 Stinner2016-12-083-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() formatVictor Stinner2016-12-083-3/+3
| | | | | Issue #28915: Without parenthesis, _PyObject_CallMethodId() avoids the creation a temporary tuple, and so is more efficient.
* _PyObject_CallFunctionVa() uses fast callVictor Stinner2016-12-081-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() functionVictor Stinner2016-12-082-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_tVictor Stinner2016-12-081-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_tVictor Stinner2016-12-081-17/+20
| | | | Issue #28915.
* Add _PyObject_CallFunctionVa() helperVictor Stinner2016-12-081-54/+29
| | | | | | | | | Issue #28915: Add _PyObject_CallFunctionVa() helper to factorize code of functions: * PyObject_CallFunction() * _PyObject_CallFunction_SizeT() * callmethod()
* Add _PyObject_FastCallVa() helperVictor Stinner2016-12-081-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 WindowsRegistryFinderSteve Dower2016-12-084-0/+18
|\
| * Issue #28896: Deprecate WindowsRegistryFinderSteve Dower2016-12-074-0/+21
| |
* | Null merge 3.6Victor Stinner2016-12-080-0/+0
|\ \ | |/
| * Issue #28770: Update python-gdb.py for fastcallsVictor Stinner2016-11-222-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 Gaye2016-12-081-1/+1
|\ \ | |/
| * Issue #26941: Fix test_threading that hangs on the Android armv7 qemu emulator.Xavier de Gaye2016-12-081-1/+1
| |
* | Issue #26940: Merge 3.6.Xavier de Gaye2016-12-081-1/+1
|\ \ | |/
| * Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator.Xavier de Gaye2016-12-081-1/+1
| |
* | Issue #26939: Merge 3.6.Xavier de Gaye2016-12-083-1/+20
|\ \ | |/
| * Issue #26939: Add the support.setswitchinterval() function to fixXavier de Gaye2016-12-083-1/+23
| | | | | | | | test_functools hanging on the Android armv7 qemu emulator.
* | merge 3.6 (#28898)Benjamin Peterson2016-12-081-2/+3
|\ \ | |/
| * guard HAVE_LONG_LONG definition to prevent redefinition (#28898)Benjamin Peterson2016-12-081-2/+3
| |
* | Issue #28900: Update documentation sidebar for 3.6.0rc.Ned Deily2016-12-081-1/+2
|\ \ | |/
| * Issue #28900: Update documentation sidebar for 3.6.0rc.Ned Deily2016-12-081-1/+2
| |\
| | * Issue #28900: Update documentation sidebar for 3.6.0rc.Ned Deily2016-12-081-1/+2
| | |
* | | Merge 3.6 (issue #28635)Yury Selivanov2016-12-081-9/+0
|\ \ \ | |/ /
| * | Issue #28635: Drop the note that whatsnew is incompleteYury Selivanov2016-12-081-9/+0
| | |
* | | Issue #28818: Simplify lookdict functionsINADA Naoki2016-12-073-125/+97
| | |
* | | Merge from 3.6.Serhiy Storchaka2016-12-072-2/+2
|\ \ \ | |/ /
| * | Merge from 3.5.Serhiy Storchaka2016-12-072-2/+2
| |\ \ | | |/
| | * Change order of io.UnsupportedOperation base classes.Serhiy Storchaka2016-12-072-2/+2
| | | | | | | | | | | | This makes tests passing after changes by issue #5322.
* | | null merge from 3.6INADA Naoki2016-12-070-0/+0
|\ \ \ | |/ /
| * | Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict.INADA Naoki2016-12-072-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 Storchaka2016-12-073-1/+119
|\ \ \ | |/ / | | | | | | Original patch by Andreas Stührk.
| * | Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.Serhiy Storchaka2016-12-073-1/+119
| |\ \ | | |/ | | | | | | Original patch by Andreas Stührk.
| | * Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.Serhiy Storchaka2016-12-023-1/+119
| | | | | | | | | | | | Original patch by Andreas Stührk.
* | | Issue #28847: A deprecation warning is now emitted if the index file is missedSerhiy Storchaka2016-12-073-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 longerSerhiy Storchaka2016-12-074-4/+26
|\ \ \ | |/ / | | | | | | writes the index file when it is not changed.
| * | Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-074-4/+26
| |\ \ | | |/ | | | | | | writes the index file when it is not changed.
| | * Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-074-5/+28
| | | | | | | | | | | | writes the index file when it is not changed.
* | | null merge from 3.6Ned Deily2016-12-070-0/+0
|\ \ \ | |/ /
| * | Prepare for 3.6.1. Any further 3.6.0 release candidates and 3.6.0 final ↵Ned Deily2016-12-072-3/+15
| | | | | | | | | | | | will be cherrypicked and merged here.
* | | merge tag from 3.6Ned Deily2016-12-071-0/+1
|\ \ \ | |/ /
| * | Added tag v3.6.0rc1 for changeset 29a273eee9a5Ned Deily2016-12-071-0/+1
| | |
| * | Version bump for 3.6.0rc1v3.6.0rc1Ned Deily2016-12-073-6/+6
| | |
| * | Update pydoc topics for 3.6.0rc1Ned Deily2016-12-061-4/+37
| | |
* | | _PyObject_FastCallKeywords() now calls directly tp_callVictor Stinner2016-12-061-15/+45
| | | | | | | | | | | | | | | _PyObject_FastCallKeywords() doesn't call _PyObject_FastCallDict() anymore: call directly tp_call.
* | | Regenerate configure with autoconf 2.69.Ned Deily2016-12-061-13/+1
|\ \ \ | |/ /
| * | Regenerate configure with autoconf 2.69.Ned Deily2016-12-061-13/+1
| | |