[Python-Dev] Difference between Include/internal and Include/cpython ?
ammar at ammaraskar.com
Sun Feb 3 11:10:16 EST 2019
This is the discussion where it was named:
and the bug explaining the motivation: https://bugs.python.org/issue35134
>(and why the additional "pycore_XXX.h" naming convention for some ofthose files?)
"* Include/internal/pycore_*.h is the "internal" API"
On Sun, Feb 3, 2019 at 10:20 AM Antoine Pitrou <solipsis at pitrou.net> wrote:
> Can someone explain why we have two separate directories
> Include/internal and Include/cpython? What is the rule for declaring an
> API inside one or another?
> At first sight, it seems to me we're having gratuitous complication
> here. For example, I notice that PyFloat_Fini() is declared in
> Include/cpython/pylifecycle.h but PyLong_Fini() is declared in
> (and why the additional "pycore_XXX.h" naming convention for some of
> those files?)
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/ammar%40ammaraskar.com
More information about the Python-Dev