diff options
author | Victor Stinner <vstinner@python.org> | 2021-10-13 13:22:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 13:22:35 (GMT) |
commit | bbe7497c5a44c2b4ec726605cf5a9086ba02daf1 (patch) | |
tree | 87e8aa9ffd1b9da84a8ea6e9a44279fcb463acc9 /Doc | |
parent | a8b9350964f43cb648c98c179c8037fbf3ff8a7d (diff) | |
download | cpython-bbe7497c5a44c2b4ec726605cf5a9086ba02daf1.zip cpython-bbe7497c5a44c2b4ec726605cf5a9086ba02daf1.tar.gz cpython-bbe7497c5a44c2b4ec726605cf5a9086ba02daf1.tar.bz2 |
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
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 21a46b4..21a0e1a 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -598,3 +598,7 @@ Removed since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or ``memcpy()`` (``wchar_t*`` string), and ``PyUnicode_Fill()`` functions instead. (Contributed by Victor Stinner in :issue:`41123`.) + +* Remove the ``pystrhex.h`` header file. It only contains private functions. + C extensions should only include the main ``<Python.h>`` header file. + (Contributed by Victor Stinner in :issue:`45434`.) |