]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: Change Argument Clinic signature for `@staticmethod` (#131157) (#131159)
authorVictor Stinner <vstinner@python.org>
Thu, 13 Mar 2025 09:22:58 +0000 (10:22 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Mar 2025 09:22:58 +0000 (10:22 +0100)
commit2ed671b5e3a64183ed2af220dd37c6b5182f52d3
treeb98caae98f00de8b352422309052d19aca7aa06c
parentdd6d24e9d20407ea31a3bb653eab252ee0d41ffa
gh-111178: Change Argument Clinic signature for `@staticmethod` (#131157) (#131159)

Use "PyObject*", instead of "void*", for `@staticmethod` functions to
fix an undefined behavior.
Lib/test/clinic.test.c
Objects/clinic/bytearrayobject.c.h
Objects/clinic/bytesobject.c.h
Objects/clinic/unicodeobject.c.h
Tools/clinic/libclinic/converters.py