]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712) (#119716)
authorVictor Stinner <vstinner@python.org>
Wed, 29 May 2024 10:32:00 +0000 (12:32 +0200)
committerGitHub <noreply@github.com>
Wed, 29 May 2024 10:32:00 +0000 (10:32 +0000)
commit48c777688305bfa45038a15ab09c03350503a2c4
treea39c184e291066d7d396c81b0b1e92fa3c0b6539
parent7a9534f595ccd9f2bdea5ceeecb837a82e44c620
[3.13] gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712) (#119716)

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.

(cherry picked from commit 7ca74a760a5d3cdf48159f003d4db7c2778e9261)
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