New GitHub issue #119661 from kpfleming:<br>
<hr>
<pre>
### Bug description:
While attempting to upgrade [python-build-standalone](https://github.com/indygreg/python-build-standalone/pull/264) to support Python 3.13 beta releases, we've run into a build failure which may be caused by Argument Clinic failing to ensure that all necessary `#include` directives are emitted into the source files it generates.
The failure can be seen [here](https://github.com/kpfleming/python-build-standalone/actions/runs/9149133735/job/25152446034#step:7:36777). Granted this is a very unusual way to build CPython, but given some of the discussions at the recent Packaging Summit it may become more valuable soon :-)
It was suggested that @vstinner might have the knowledge needed to understand what is happening here, so apologies in advance for the direct ping :-)
I'm happy to include patches into that build tree to see if we can overcome the problem before the next beta release, and I'm also happy to make that branch writable by others who want to try to help troubleshoot.
### CPython versions tested on:
3.13
### Operating systems tested on:
Linux, macOS, Windows
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/119661">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>