cpython/Misc/NEWS.d/next/C API
Victor Stinner 2ff58a24e8
bpo-37194: Add a new public PyObject_CallNoArgs() function (GH-13890)
Add a new public PyObject_CallNoArgs() function to the C API: call a
callable Python object without any arguments.

It is the most efficient way to call a callback without any argument.
On x86-64, for example, PyObject_CallFunctionObjArgs(func, NULL)
allocates 960 bytes on the stack per call, whereas
PyObject_CallNoArgs(func) only allocates 624 bytes per call.

It is excluded from stable ABI 3.8.

Replace private _PyObject_CallNoArg() with public
PyObject_CallNoArgs() in C extensions: _asyncio, _datetime,
_elementtree, _pickle, _tkinter and readline.
2019-06-17 14:27:23 +02:00
..
2019-06-06-08-47-04.bpo-37170.hO_fpM.rst bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860) 2019-06-06 22:39:23 +02:00
2019-06-07-14-03-52.bpo-37194.uck7MD.rst bpo-37194: Add a new public PyObject_CallNoArgs() function (GH-13890) 2019-06-17 14:27:23 +02:00
2019-06-10-15-32-34.bpo-37215.yzoNyU.rst bpo-37215: Fix dtrace issue introduce by bpo-36842 (GH-13940) 2019-06-10 08:19:48 -07:00
2019-06-14-14-03-51.bpo-28805.qZC0N_.rst bpo-28805: document METH_FASTCALL (GH-14079) 2019-06-17 02:03:22 +09:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

Put news entry `blurb`_ files for the *C API* section in this directory.

.. _blurb: https://pypi.org/project/blurb/