]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45434: Remove pystrhex.h header file (GH-28923)
authorVictor Stinner <vstinner@python.org>
Wed, 13 Oct 2021 13:22:35 +0000 (15:22 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Oct 2021 13:22:35 +0000 (15:22 +0200)
commitbbe7497c5a44c2b4ec726605cf5a9086ba02daf1
tree87e8aa9ffd1b9da84a8ea6e9a44279fcb463acc9
parenta8b9350964f43cb648c98c179c8037fbf3ff8a7d
bpo-45434: Remove pystrhex.h header file (GH-28923)

Move Include/pystrhex.h to Include/internal/pycore_strhex.h.
The header file only contains private functions.

The following C extensions are now built with Py_BUILD_CORE_MODULE
macro defined to get access to the internal C API:

* _blake2
* _hashopenssl
* _md5
* _sha1
* _sha3
* _ssl
* binascii
22 files changed:
Doc/whatsnew/3.11.rst
Include/internal/pycore_strhex.h [new file with mode: 0644]
Include/pystrhex.h [deleted file]
Makefile.pre.in
Misc/NEWS.d/next/C API/2021-10-13-14-42-46.bpo-45434.INNEEt.rst [new file with mode: 0644]
Modules/Setup
Modules/_blake2/blake2b_impl.c
Modules/_blake2/blake2s_impl.c
Modules/_hashopenssl.c
Modules/_sha3/sha3module.c
Modules/binascii.c
Modules/md5module.c
Modules/sha1module.c
Modules/sha256module.c
Modules/sha512module.c
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/memoryobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/pystrhex.c
setup.py