]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45439: Move _PyObject_CallNoArgs() to pycore_call.h (GH-28895)
authorVictor Stinner <vstinner@python.org>
Tue, 12 Oct 2021 06:38:19 +0000 (08:38 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Oct 2021 06:38:19 +0000 (08:38 +0200)
commitd943d19172aa93ce88bade15b9f23a0ce3bc72ff
treec674b910e203113b991861de5b12e2ab79eb166b
parentbe21706f3760bec8bd11f85ce02ed6792b07f51f
bpo-45439: Move _PyObject_CallNoArgs() to pycore_call.h (GH-28895)

* Move _PyObject_CallNoArgs() to pycore_call.h (internal C API).
* _ssl, _sqlite and _testcapi extensions now call the public
  PyObject_CallNoArgs() function, rather than _PyObject_CallNoArgs().
* _lsprof extension is now built with Py_BUILD_CORE_MODULE macro
  defined to get access to internal _PyObject_CallNoArgs().
38 files changed:
Include/cpython/abstract.h
Include/internal/pycore_call.h
Modules/_collectionsmodule.c
Modules/_ctypes/_ctypes.c
Modules/_ctypes/callbacks.c
Modules/_ctypes/cfield.c
Modules/_ctypes/stgdict.c
Modules/_functoolsmodule.c
Modules/_io/bufferedio.c
Modules/_lsprof.c
Modules/_sqlite/connection.c
Modules/_ssl.c
Modules/_testcapimodule.c
Modules/itertoolsmodule.c
Modules/main.c
Modules/mathmodule.c
Modules/posixmodule.c
Modules/signalmodule.c
Objects/abstract.c
Objects/bytesobject.c
Objects/complexobject.c
Objects/dictobject.c
Objects/enumobject.c
Objects/fileobject.c
Objects/genobject.c
Objects/iterobject.c
Objects/moduleobject.c
Objects/object.c
Objects/odictobject.c
Objects/typeobject.c
Parser/tokenizer.c
Python/bltinmodule.c
Python/ceval.c
Python/codecs.c
Python/errors.c
Python/marshal.c
Python/sysmodule.c
setup.py