summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29335: Fix subprocess.Popen.wait() when the child process hasGregory P. Smith2017-01-22680-158326/+14133
|\ | | | | | | exited to a stopped instead of terminated state (ex: when under ptrace).
| * Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()Serhiy Storchaka2017-01-229-13/+26
| | | | | | | | is now of type "const char *" rather of "char *".
| * Issue #29290: Merge 3.6.Xiang Zhang2017-01-223-1/+21
| |\
| * \ Issue #29092: Merge 3.6.Xiang Zhang2017-01-223-5/+7
| |\ \
| * \ \ Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.Serhiy Storchaka2017-01-213-5/+22
| |\ \ \
| * | | | Issue #29331: Simplified argument parsing in sorted() and list.sort().Serhiy Storchaka2017-01-212-24/+20
| | | | |
| * | | | Issue #29282: Backed out changeset b33012ef1417Mark Dickinson2017-01-216-338/+1
| | | | |
| * | | | Issue #29282: add fused multiply-add function, math.fma.Mark Dickinson2017-01-216-1/+338
| | | | |
| * | | | Update Misc/NEWS and Misc/HISTORY from current 3.5 and 3.4 branches.Ned Deily2017-01-202-49/+3669
| |\ \ \ \
| * \ \ \ \ Issue #29316: merge 3.6Ned Deily2017-01-202-6/+10
| |\ \ \ \ \
| * \ \ \ \ \ Issue #29327: Fixed a crash when pass the iterable keyword argument to sorted().Serhiy Storchaka2017-01-203-1/+15
| |\ \ \ \ \ \
| * \ \ \ \ \ \ mergeRaymond Hettinger2017-01-191-0/+5
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Issue #29292: Merge 3.6.Xiang Zhang2017-01-201-2/+3
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Null merge from 3.6.Larry Hastings2017-01-190-0/+0
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Issue #29289: Argument Clinic generates reasonable name for the parameter ↵Serhiy Storchaka2017-01-192-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "default".
| * | | | | | | | | | Issue #29311: Argument Clinic generates reasonable name for the parameter ↵Serhiy Storchaka2017-01-192-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "default".
| * | | | | | | | | | Issue #20186: Converted builtins enumerate() and reversed() to Argument Clinic.Serhiy Storchaka2017-01-192-39/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Tal Einat.
| * | | | | | | | | | Issue #20186: Converted the math module to Argument Clinic.Serhiy Storchaka2017-01-192-247/+923
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Tal Einat.
| * | | | | | | | | | Issue #20186: Converted the _operator module to Argument Clinic.Serhiy Storchaka2017-01-192-245/+2428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Tal Einat.
| * | | | | | | | | | Issue #29296: convert print() to METH_FASTCALLINADA Naoki2017-01-191-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace PyArg_ParseTupleAndKeywords() with _PyArg_ParseStackAndKeywords() which is more efficient to parse keywords, since it decodes only keywords (char*) from UTF-8 once, instead of decoding at each call. * METH_FASTCALL avoids the creation of a temporary tuple to pass positional arguments. Patch written by INADA Naoki, pushed by Victor Stinner.
| * | | | | | | | | | Add a note explaining why dict_update() doesn't use METH_FASTCALLVictor Stinner2017-01-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29312.
| * | | | | | | | | | dict.get() and dict.setdefault() now use ACVictor Stinner2017-01-192-25/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29311: dict.get() and dict.setdefault() methods now use Argument Clinic to parse arguments. Their calling convention changes from METH_VARARGS to METH_FASTCALL which avoids the creation of a temporary tuple. The signature of docstrings is also enhanced. For example, get(...) becomes: get(self, key, default=None, /)
| * | | | | | | | | | _PyStack_AsDict() now checks kwnames != NULLVictor Stinner2017-01-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259.
| * | | | | | | | | | Issue #29198: add AsyncGenerator (Jelle Zijlstra) (3.6->3.7)Guido van Rossum2017-01-18674-157722/+10502
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Update and enhance python-gdb.pyVictor Stinner2017-01-182-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259: * Detect PyCFunction is the current frame, not only in the older frame * Ignore PyCFunction_Call() since it now calls _PyCFunction_FastCallDict(), and _PyCFunction_FastCallDict() is already detected
| | * | | | | | | | | | Issue #28556: allow default values in class form of NamedTuple -- Jelle ↵Guido van Rossum2017-01-182-1/+42
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zijlstra (3.6->3.7)
| | * | | | | | | | | | | Cleanup _PyMethodDef_RawFastCallDict()Victor Stinner2017-01-181-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259: use a different case for METH_VARARGS and METH_VARARGS|METH_KEYWORDS to avoid testing again flags to decide if keywords should be checked or not.
| | * | | | | | | | | | | Rephrase !PyErr_Occurred() comment: may=>canVictor Stinner2017-01-185-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259.
| | * | | | | | | | | | | _PyObject_FastCallKeywords() now checks !PyErr_Occurred()Victor Stinner2017-01-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259. All other functions calling functions start with the similar assertion.
| | * | | | | | | | | | | PyCFunction_Call() now calls _PyCFunction_FastCallDict()Victor Stinner2017-01-181-70/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259. We had 3 versions of similar code: * PyCFunction_Call() * _PyCFunction_FastCallDict() * _PyCFunction_FastCallKeywords() PyCFunction_Call() now calls _PyCFunction_FastCallDict() to factorize the code.
| | * | | | | | | | | | | Fix _PyMethodDef_RawFastCallDict() argument parsingVictor Stinner2017-01-181-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259: * Move also the !PyErr_Occurred() assertion to the top, similar to other functions. * Fix also comment/error messages: the function was renamed to _PyMethodDef_RawFastCallDict()
| | * | | | | | | | | | | Fix Python 2.6 support in python-gdb.pyVictor Stinner2017-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259.
| | * | | | | | | | | | | Issue 29274: Merge doc fixes from 3.6Martin Panter2017-01-183-12/+12
| | |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | _PyObject_FastCallKeywords() now checks the resultVictor Stinner2017-01-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue ##27830, Issue #29259.
| | * | | | | | | | | | | | Optimize methoddescr_call(): avoid temporary PyCFunctionVictor Stinner2017-01-183-26/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259, #29263. methoddescr_call() creates a PyCFunction object, call it and the destroy it. Add a new _PyMethodDef_RawFastCallDict() method to avoid the temporary PyCFunction object.
| | * | | | | | | | | | | | Remove unused func parameter of _PyStack_UnpackDict()Victor Stinner2017-01-183-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29259.
| | * | | | | | | | | | | | Issue #28556: merge 5 more typing changes from upstream (#340, #344, #348, ↵Guido van Rossum2017-01-17672-157603/+10435
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #349, #350) (3.6->3.7)
| | | * | | | | | | | | | | | Address a minor Coverity warning re: unchecked PyArg_ParseTuple callsGregory P. Smith2017-01-171-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in socket.sendto(). A PyErr_Occurred() check was happening later, but it is better to just use the return value and not call PyErr_Occurred().
| | | * | | | | | | | | | | | _hashopenssl uses METH_FASTCALLVictor Stinner2017-01-171-3/+7
| | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | sorted() uses METH_FASTCALLVictor Stinner2017-01-171-11/+9
| | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | next() uses FASTCALLVictor Stinner2017-01-171-3/+9
| | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | getattr() uses METH_FASTCALLVictor Stinner2017-01-171-3/+8
| | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | Null mergeSerhiy Storchaka2017-01-17671-157578/+10395
| | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | * | | | | | | | | | | | Merge from 3.6.Larry Hastings2017-01-170-0/+0
| | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | Issue #29029: Speed up processing positional arguments inSerhiy Storchaka2017-01-171-101/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PyArg_ParseTupleAndKeywords(), _PyArg_ParseTupleAndKeywordsFast() and like.
| | | | * | | | | | | | | | | | mergeRaymond Hettinger2017-01-163-0/+25
| | | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | * | | | | | | | | | | | | Convert some OrderedDict methods to Argument ClinicVictor Stinner2017-01-172-87/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29289. Convert methods: * fromkeys() class method * setdefault() * popitem() * move_to_end()
| | | | * | | | | | | | | | | | | Run Argument Clinic: METH_VARARGS=>METH_FASTCALLVictor Stinner2017-01-1719-165/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | * | | | | | | | | | | | | Argument Clinic: Use METH_FASTCALL for boring positionalsVictor Stinner2017-01-171-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. Use METH_FASTCALL calling convention instead of METH_VARARGS to parse "boring" position arguments. METH_FASTCALL is faster since it avoids the creation of a temporary tuple to pass positional arguments. Replace PyArg_UnpackTuple() with _PyArg_UnpackStack()+_PyArg_NoStackKeywords().
| | | | * | | | | | | | | | | | | Add _PyArg_UnpackStack() function helperVictor Stinner2017-01-172-18/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286.