]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyModule API (#107070)
authorVictor Stinner <vstinner@python.org>
Sat, 22 Jul 2023 21:41:11 +0000 (23:41 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2023 21:41:11 +0000 (21:41 +0000)
commitc1331ad50891b1727896afe62258bda73a459d40
tree02dc74c4cb765ef5056bc9c3d40f5d7d74eb69ca
parent0927a2b25c059988e237108605ed8ab0c5459c53
gh-106320: Remove private _PyModule API (#107070)

Move private _PyModule API to the internal C API
(pycore_moduleobject.h):

* _PyModule_Clear()
* _PyModule_ClearDict()
* _PyModuleSpec_IsInitializing()
* _PyModule_IsExtension()

No longer export these functions.
Include/internal/pycore_moduleobject.h
Include/moduleobject.h