]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private pylifecycle.h functions (#106400)
authorVictor Stinner <vstinner@python.org>
Tue, 4 Jul 2023 09:41:43 +0000 (11:41 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2023 09:41:43 +0000 (09:41 +0000)
commitc9ce983ae1a361f431a0303aeb6f4b8e1d674275
treee5e6dae3885a270ffeea975ff03462c186af68c9
parent8a73b57b9b5f6e36dd5a4c279f4d606d9e71a31f
gh-106320: Remove private pylifecycle.h functions (#106400)

Remove private pylifecycle.h functions: move them to the internal C
API ( pycore_atexit.h, pycore_pylifecycle.h and pycore_signal.h). No
longer export most of these functions.

Move _testcapi.test_atexit() to _testinternalcapi.
19 files changed:
Include/cpython/pylifecycle.h
Include/internal/pycore_atexit.h
Include/internal/pycore_pylifecycle.h
Include/internal/pycore_signal.h
Modules/_asynciomodule.c
Modules/_io/bufferedio.c
Modules/_posixsubprocess.c
Modules/_randommodule.c
Modules/_sqlite/connection.c
Modules/_testcapimodule.c
Modules/_testinternalcapi.c
Modules/_xxinterpchannelsmodule.c
Modules/getbuildinfo.c
Modules/posixmodule.c
Modules/readline.c
Modules/signalmodule.c
Python/_warnings.c
Python/bootstrap_hash.c
Python/preconfig.c