Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Issue #28556: allow default values in class form of NamedTuple -- Jelle ↵ | Guido van Rossum | 2017-01-18 | 2 | -1/+42 | |
| |\ \ | | |/ | | | | | | | Zijlstra (3.5->3.6) | |||||
| | * | Issue #28556: allow default values in class form of NamedTuple -- Jelle Zijlstra | Guido van Rossum | 2017-01-18 | 2 | -1/+42 | |
| | | | ||||||
* | | | Cleanup _PyMethodDef_RawFastCallDict() | Victor Stinner | 2017-01-18 | 1 | -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=>can | Victor Stinner | 2017-01-18 | 5 | -8/+8 | |
| | | | | | | | | | | | | Issue #29259. | |||||
* | | | _PyObject_FastCallKeywords() now checks !PyErr_Occurred() | Victor Stinner | 2017-01-18 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | Issue #29259. All other functions calling functions start with the similar assertion. | |||||
* | | | PyCFunction_Call() now calls _PyCFunction_FastCallDict() | Victor Stinner | 2017-01-18 | 1 | -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 parsing | Victor Stinner | 2017-01-18 | 1 | -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.py | Victor Stinner | 2017-01-18 | 1 | -2/+2 | |
| | | | | | | | | | | | | Issue #29259. | |||||
* | | | Issue 29274: Merge doc fixes from 3.6 | Martin Panter | 2017-01-18 | 3 | -12/+12 | |
|\ \ \ | |/ / | ||||||
| * | | Issue 29274: Merge doc fixes from 3.5 | Martin Panter | 2017-01-18 | 3 | -12/+12 | |
| |\ \ | | |/ | ||||||
| | * | Issue #29274: tests cases → test cases | Martin Panter | 2017-01-18 | 3 | -12/+12 | |
| | | | ||||||
* | | | _PyObject_FastCallKeywords() now checks the result | Victor Stinner | 2017-01-18 | 1 | -0/+2 | |
| | | | | | | | | | | | | Issue ##27830, Issue #29259. | |||||
* | | | Optimize methoddescr_call(): avoid temporary PyCFunction | Victor Stinner | 2017-01-18 | 3 | -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 Stinner | 2017-01-18 | 3 | -5/+3 | |
| | | | | | | | | | | | | Issue #29259. | |||||
* | | | Issue #28556: merge 5 more typing changes from upstream (#340, #344, #348, ↵ | Guido van Rossum | 2017-01-18 | 2 | -12/+76 | |
|\ \ \ | |/ / | | | | | | | #349, #350) (3.6->3.7) | |||||
| * | | Issue #28556: merge 5 more typing changes from upstream (#340, #344, #348, ↵ | Guido van Rossum | 2017-01-18 | 2 | -12/+76 | |
| |\ \ | | |/ | | | | | | | #349, #350) (3.5->3.6) | |||||
| | * | Issue #28556: merge 5 more typing changes from upstream (#340, #344, #348, ↵ | Guido van Rossum | 2017-01-18 | 2 | -12/+76 | |
| | | | | | | | | | | | | #349, #350) | |||||
* | | | Address a minor Coverity warning re: unchecked PyArg_ParseTuple calls | Gregory P. Smith | 2017-01-18 | 1 | -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_FASTCALL | Victor Stinner | 2017-01-17 | 1 | -3/+7 | |
| | | | ||||||
* | | | sorted() uses METH_FASTCALL | Victor Stinner | 2017-01-17 | 1 | -11/+9 | |
| | | | ||||||
* | | | next() uses FASTCALL | Victor Stinner | 2017-01-17 | 1 | -3/+9 | |
| | | | ||||||
* | | | getattr() uses METH_FASTCALL | Victor Stinner | 2017-01-17 | 1 | -3/+8 | |
| | | | ||||||
* | | | Null merge | Serhiy Storchaka | 2017-01-17 | 0 | -0/+0 | |
|\ \ \ | |/ / | ||||||
| * | | Merge from 3.5. | Larry Hastings | 2017-01-17 | 1 | -1/+2 | |
| |\ \ | | |/ | ||||||
| | * | Merge from 3.4. | Larry Hastings | 2017-01-17 | 1 | -0/+1 | |
| | |\ | ||||||
| | | * | Post-release updates for 3.4.6. | Larry Hastings | 2017-01-17 | 2 | -2/+14 | |
| | | | | ||||||
| | | * | Added tag v3.4.6 for changeset b662f4776921 | Larry Hastings | 2017-01-16 | 1 | -0/+1 | |
| | | | | ||||||
| | | * | Version bump for Python 3.4.6.v3.4.6 | Larry Hastings | 2017-01-16 | 3 | -10/+6 | |
| | | | | ||||||
| | * | | Merge 3.5.3 release head with main 3.5 branch. | Larry Hastings | 2017-01-17 | 52 | -374/+587 | |
| | |\ \ | ||||||
| | * | | | Post-release updates for 3.5.3. | Larry Hastings | 2017-01-17 | 2 | -2/+14 | |
| | | | | | ||||||
| | * | | | Added tag v3.5.3 for changeset 1880cb95a742 | Larry Hastings | 2017-01-16 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | Version bump for Python 3.5.3.v3.5.3 | Larry Hastings | 2017-01-16 | 3 | -10/+6 | |
| | | | | | ||||||
| | * | | | Cherry-pick small copyright fix for 3.5.3 final. | Larry Hastings | 2017-01-06 | 1 | -1/+1 | |
| | |\ \ \ | ||||||
* | | | | | | Merge from 3.6. | Larry Hastings | 2017-01-17 | 1 | -1/+2 | |
| | | | | | | ||||||
* | | | | | | Issue #29029: Speed up processing positional arguments in | Serhiy Storchaka | 2017-01-17 | 1 | -101/+89 | |
| | | | | | | | | | | | | | | | | | | | | | | | | PyArg_ParseTupleAndKeywords(), _PyArg_ParseTupleAndKeywordsFast() and like. | |||||
* | | | | | | merge | Raymond Hettinger | 2017-01-17 | 3 | -0/+25 | |
|\ \ \ \ \ \ | |/ / / / / | ||||||
| * | | | | | merge | Raymond Hettinger | 2017-01-17 | 4 | -0/+27 | |
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | ||||||
| | * | | | | Issue #29011: Fix an important omission by adding Deque to the typing module. | Raymond Hettinger | 2017-01-17 | 4 | -4/+41 | |
| | | | | | | ||||||
* | | | | | | Convert some OrderedDict methods to Argument Clinic | Victor Stinner | 2017-01-17 | 2 | -87/+219 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29289. Convert methods: * fromkeys() class method * setdefault() * popitem() * move_to_end() | |||||
* | | | | | | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 19 | -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 positionals | Victor Stinner | 2017-01-17 | 1 | -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 helper | Victor Stinner | 2017-01-17 | 2 | -18/+65 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. | |||||
* | | | | | | Run Argument Clinic: METH_VARARGS=>METH_FASTCALL | Victor Stinner | 2017-01-17 | 52 | -679/+1515 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using only positional arguments. | |||||
* | | | | | | Argument Clinic: Use METH_FASTCALL for positionals | Victor Stinner | 2017-01-17 | 1 | -14/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. Use METH_FASTCALL calling convention instead of METH_VARARGS to parse position arguments. METH_FASTCALL is faster since it avoids the creation of a temporary tuple to pass positional arguments. | |||||
* | | | | | | _PyStack_UnpackDict() now returns -1 on error | Victor Stinner | 2017-01-17 | 3 | -14/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. Change _PyStack_UnpackDict() prototype to be able to notify of failure when args is NULL. | |||||
* | | | | | | Add _PyArg_NoStackKeywords() helper function | Victor Stinner | 2017-01-17 | 2 | -5/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. Similar to _PyArg_NoKeywords(), but expects a tuple of keyword names, instead of a dict. | |||||
* | | | | | | Add _PyArg_ParseStack() helper function | Victor Stinner | 2017-01-17 | 2 | -24/+82 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. Function similar to PyArg_ParseTuple(), but uses a C array of PyObject* to pass arguments. Don't support the compatibility mode. | |||||
* | | | | | | Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords | Victor Stinner | 2017-01-17 | 38 | -177/+177 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Issue #29286. | |||||
* | | | | | | Rename keywords to kwargs in getargs.c | Victor Stinner | 2017-01-16 | 1 | -31/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Issue #29029. Patch written by Serhiy Storchaka. | |||||
* | | | | | | type_prepare() now uses fast call (METH_FASTCALL) | Victor Stinner | 2017-01-16 | 1 | -2/+3 | |
| | | | | | |