]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyImport C API functions (#106383)
authorVictor Stinner <vstinner@python.org>
Mon, 3 Jul 2023 23:02:07 +0000 (01:02 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Jul 2023 23:02:07 +0000 (23:02 +0000)
commit2e92edbf6de9578b30cca8e48c4bfb2ba71ae97a
tree7cb29fc57a2a2ddc93393005fc592346d3e03d6a
parentf6d2bb18aba844f6bb5836797c72eb791b7f3644
gh-106320: Remove private _PyImport C API functions (#106383)

* Remove private _PyImport C API functions: move them to the internal
  C API (pycore_import.h).
* No longer export most of these private functions.
* _testcapi avoids private _PyImport_GetModuleAttrString().
Include/cpython/import.h
Include/internal/pycore_import.h
Modules/_elementtree.c
Modules/_sqlite/connection.c
Modules/_sqlite/module.c
Modules/_testcapimodule.c
Modules/cjkcodecs/cjkcodecs.h
Modules/pyexpat.c