[Python-Dev] Rename Include/internals/ to Include/pycore/
Le jeu. 1 nov. 2018 ? 16:38, Steve Dower <steve.dower at python.org> a ?crit :
> I assume the redundancy was there to handle the naming collision
> problem, but a better way to do that is to have only header files that
> users should ever use in "include/", and put the rest inside
> "include/python/" and "include/internal/" (and if possible, we don't
> distribute the internal directory as part of -develop packages, which
> only really impacts the Windows installer as far as we're concerned, but
> I assume some distros will care).
Aha, I didn't try this approach. I counted 41 Include/ header files
which are not included by Python.h:
For Py_BUILD_CORE, there is at least datetime.h which may be a
Include/internal/ twin header.
Now I'm not sure how it's going to fit with the second step, "Move
!Py_LIMITED_API to Include/pycapi/":