]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-82616: Add Py_IS_TYPE_SIGNED() macro (#93178)
authorVictor Stinner <vstinner@python.org>
Fri, 27 May 2022 13:05:35 +0000 (15:05 +0200)
committerGitHub <noreply@github.com>
Fri, 27 May 2022 13:05:35 +0000 (15:05 +0200)
commit22b75d9bef1bffe82bfa1adfcbec0243c9202041
tree2f2670227cb3db6e5209b1586c79d5ffa45145fd
parentcb04a09d2dfd197436a11de504b92773569e19fb
gh-82616: Add Py_IS_TYPE_SIGNED() macro (#93178)

_posixsubprocess: add a static assertion to ensure that the pid_t
type is signed.

Replace _Py_IntegralTypeSigned() with _Py_IS_TYPE_SIGNED().
Include/internal/pycore_pymath.h
Include/pymacro.h
Modules/_posixsubprocess.c
Modules/_testcapimodule.c