A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-December/155922.html below:

[Python-Dev] Internal header files (Include/internal/*.h) are now installed

[Python-Dev] Internal header files (Include/internal/*.h) are now installed [Python-Dev] Internal header files (Include/internal/*.h) are now installedAntoine Pitrou solipsis at pitrou.net
Tue Dec 4 10:31:57 EST 2018
On Tue, 4 Dec 2018 16:19:46 +0100
Victor Stinner <vstinner at redhat.com> wrote:
> Hi,
> 
> Since Python 3.7, "internal" C API (only declared if Py_BUILD_CORE is
> defined) are moving from Include/*.h to Include/internal/*.h. These
> API must not be used outside CPython. In Python 3.7, "make install"
> doesn't install them for example.
> 
> I would like to move more private functions (prefixed by "_Py") to the
> "internal" API. Since I'm not 100% sure that it's ok, I decided to
> modify "make install" to also install Include/internal/ headers (to
> $prefix/include/python3.8m/internal/).
> 
> These headers might be useful for low-level debug tools like debuggers
> or profilers, to access directly memory without calling functions.
> These APIs require to use the same compiler and likely the same
> compiler options than CPython. It's especially true for atomic
> variables (Include/internal/pycore_atomic.h).
> 
> Are you ok to install "internal" header files? If yes, should we
> modify "make install" of Python 3.7 to also install them?

+1 to both.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4