Message275516
fastcall.patch combines two changes:
changeset: 103513:74abb8ddf7f2
tag: tip
user: Victor Stinner <victor.stinner@gmail.com>
date: Fri Sep 09 17:40:38 2016 -0700
files: Include/modsupport.h Python/getargs.c Tools/clinic/clinic.py
description:
Emit METH_FASTCALL code in Argument Clinic
Issue #27810:
* Modify vgetargskeywordsfast() to work on a C array of PyObject* rather than
working on a tuple directly.
* Add _PyArg_ParseStack()
* Argument Clinic now emits code using the new METH_FASTCALL calling convention
changeset: 103512:d55abcddd194
user: Victor Stinner <victor.stinner@gmail.com>
date: Fri Sep 09 17:40:22 2016 -0700
files: Include/abstract.h Include/methodobject.h Objects/abstract.c Objects/methodobject.c
description:
Add METH_FASTCALL calling convention
Issue #27810: Add a new calling convention for C functions:
PyObject* func(PyObject *self, PyObject **args,
Py_ssize_t nargs, PyObject *kwnames);
Where args is a C array of positional arguments followed by values of keyword
arguments. nargs is the number of positional arguments, kwnames are keys of
keyword arguments. kwnames can be NULL. |
|
Date |
User |
Action |
Args |
2016-09-10 00:56:46 | vstinner | set | recipients:
+ vstinner, scoder, python-dev, serhiy.storchaka |
2016-09-10 00:56:45 | vstinner | set | messageid: <1473469005.75.0.599132715973.issue27810@psf.upfronthosting.co.za> |
2016-09-10 00:56:45 | vstinner | link | issue27810 messages |
2016-09-10 00:56:45 | vstinner | create | |
|