]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PySys functions (#108452)
authorVictor Stinner <vstinner@python.org>
Thu, 24 Aug 2023 20:02:09 +0000 (22:02 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2023 20:02:09 +0000 (20:02 +0000)
commita071ecb4d13595f3580cf82061dcd7b39cd475c5
treec744a2942c27476f0cd5c71faf336ad64142756a
parent26893016a7f204b2e7138fc9ce04525a651c202e
gh-106320: Remove private _PySys functions (#108452)

Move private functions to the internal C API (pycore_sysmodule.h):

* _PySys_GetAttr()
* _PySys_GetSizeOf()

No longer export most of these functions.

Fix also a typo in Include/cpython/optimizer.h: add a missing space.
12 files changed:
Include/cpython/optimizer.h
Include/cpython/sysmodule.h
Include/internal/pycore_sysmodule.h
Modules/_io/bytesio.c
Modules/_pickle.c
Modules/_threadmodule.c
Modules/faulthandler.c
Python/_warnings.c
Python/bltinmodule.c
Python/intrinsics.c
Python/sysmodule.c
Python/traceback.c