]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42161: Modules/ uses _PyLong_GetZero() and _PyLong_GetOne() (GH-22998)
authorVictor Stinner <vstinner@python.org>
Tue, 27 Oct 2020 16:12:53 +0000 (17:12 +0100)
committerGitHub <noreply@github.com>
Tue, 27 Oct 2020 16:12:53 +0000 (17:12 +0100)
commit37834136d0afe51d274bfc79d8705514cbe73727
tree0e4c6b1f42813363f690e7ad179874d727d2cd79
parenta6879d9445f98833c4e300e187956e2a218a2315
bpo-42161: Modules/ uses _PyLong_GetZero() and _PyLong_GetOne() (GH-22998)

Use _PyLong_GetZero() and _PyLong_GetOne() in Modules/ directory.

_cursesmodule.c and zoneinfo.c are now built with
Py_BUILD_CORE_MODULE macro defined.
14 files changed:
Modules/Setup
Modules/_collectionsmodule.c
Modules/_ctypes/_ctypes.c
Modules/_cursesmodule.c
Modules/_datetimemodule.c
Modules/_functoolsmodule.c
Modules/_io/iobase.c
Modules/_io/textio.c
Modules/_sre.c
Modules/_zoneinfo.c
Modules/clinic/_cursesmodule.c.h
Modules/itertoolsmodule.c
Modules/mathmodule.c
setup.py