[issue43244] Move PyArena C API to the internal C API
STINNER Victor
report at bugs.python.org
Wed Feb 17 13:31:30 EST 2021
New submission from STINNER Victor <vstinner at python.org>:
Include/cpython/pyarena.h declares 4 functions which are implemented in Python/pyarena.c. The header file exists to access these functions from the compiler. IMO there was no intent to expose these functions to the public Python C API.
Moreover, the PEP 384 explicitly excludes this API from the stable ABI (from the limited C API).
I propose to move these functions to the internal C API.
Since these functions are no even documented, I don't think that a deprecation period is needed.
Note: The PR 24550 moved Include/pyarena.h to Include/cpython/pyarena.h.
----------
components: C API
messages: 387180
nosy: vstinner
priority: normal
severity: normal
status: open
title: Move PyArena C API to the internal C API
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43244>
_______________________________________
More information about the Python-bugs-list
mailing list