This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2021-02-17.18:31:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2021-02-17 18:31:30vstinnersetrecipients: + vstinner
2021-02-17 18:31:30vstinnersetmessageid: <>
2021-02-17 18:31:30vstinnerlinkissue43244 messages
2021-02-17 18:31:30vstinnercreate