New submission from STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43244>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to