]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712)
authorVictor Stinner <vstinner@python.org>
Wed, 29 May 2024 09:37:04 +0000 (11:37 +0200)
committerGitHub <noreply@github.com>
Wed, 29 May 2024 09:37:04 +0000 (11:37 +0200)
commit7ca74a760a5d3cdf48159f003d4db7c2778e9261
treee24740653b6882a0bafd9c9a01e2e55abd2170a4
parentcd11ff12ac55f37d38b5ef08c143c78f07da5717
gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712)

When the _Py_SINGLETON() is used, Argument Clinic now adds an
explicit "pycore_runtime.h" include to get the macro. Previously, the
macro may or may not be included indirectly by another include.
12 files changed:
Modules/_ctypes/clinic/_ctypes.c.h
Modules/_io/clinic/bufferedio.c.h
Modules/_io/clinic/iobase.c.h
Modules/_io/clinic/textio.c.h
Modules/clinic/_curses_panel.c.h
Modules/clinic/_dbmmodule.c.h
Modules/clinic/_elementtree.c.h
Modules/clinic/_gdbmmodule.c.h
Modules/clinic/_pickle.c.h
Modules/clinic/arraymodule.c.h
Modules/clinic/pyexpat.c.h
Tools/clinic/libclinic/parse_args.py