# Use the limited C API for some of our stdlib C extensions

**URL:** <https://discuss.python.org/t/use-the-limited-c-api-for-some-of-our-stdlib-c-extensions/32465>\
**Category:** Core Development\
**Created:** [August 28, 2023, 3:29pm UTC](https://discuss.python.org/t/use-the-limited-c-api-for-some-of-our-stdlib-c-extensions/32465 "2023-08-28T15:29:37Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![erlendaasland](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/erlendaasland/32/4378_2.png) [@erlendaasland](https://discuss.python.org/u/erlendaasland)\
**Post date:** [September 4, 2023, 8:47pm UTC](https://discuss.python.org/t/use-the-limited-c-api-for-some-of-our-stdlib-c-extensions/32465/31 "2023-09-04T20:47:44Z")

</div>

> [@encukou](#):
>
> > [@guido](#):
> >
> > But who _did_ decide, besides Victor?
> 
> No one? AFAIK the PEP that mentions it is [620](https://peps.python.org/pep-0620/), which is Withdrawn, even though it’s mostly completed.

For `Include/cpython`, there was a poll here on Discourse\[1\]:

> [@\[Poll\] What is your favorite name for the new Include/ subdirectory?](https://discuss.python.org/t/poll-what-is-your-favorite-name-for-the-new-include-subdirectory/477):
>
> I plan to merge my following PR tomorrow. It adds a new Include/unstable/ subdirectory: move code surrounded by “#ifndef Py\_LIMITED\_API” to this directory, so Include/\*.h would only contain the “limited API”. See the bpo for more details. [https://github.com/python/cpython/pull/10624](https://github.com/python/cpython/pull/10624)[https://bugs.python.org/issue35134](https://bugs.python.org/issue35134) Note: I would prefer to post this message to a “python-dev” category. Committers is restricted to core devs (but everyone can read). IMHO my message doesn’t belong to “Users” or …

See also:

- [https://github.com/python/cpython/issues/79315](https://github.com/python/cpython/issues/79315)
- [Move internal headers to Include/internal/ · Issue #79262 · python/cpython · GitHub](https://github.com/python/cpython/issues/79262)
- [[Python-Dev] Rename Include/internals/ to Include/pycore/](https://mail.python.org/pipermail/python-dev/2018-October/155587.html)

* * *

1. it only received 3 votes, though, so it wasn’t exactly representative

---

_[View the full topic](https://discuss.python.org/t/use-the-limited-c-api-for-some-of-our-stdlib-c-extensions/32465)._
