bpo-35134: Create Include/cpython/ subdirectory by vstinner · Pull Request #10624 · python/cpython

ncoghlan

@vstinner vstinner changed the title bpo-35134: Create Include/unstable/ subdirectory bpo-35134: Create Include/cpython/ subdirectory

Nov 23, 2018

@vstinner

Include/*.h should be the "portable Python API", whereas
Include/cpython/*.h should be the "CPython API": CPython
implementation details.

Changes:

* Create Include/cpython/ subdirectory
* "make install" now creates $prefix/include/cpython and copy
  Include/cpython/* to $prefix/include/cpython
* Create Include/cpython/objimpl.h: move objimpl.h code
  surrounded by "#ifndef Py_LIMITED_API" to cpython/objimpl.h.
* objimpl.h now includes cpython/objimpl.h
* Windows installer (MSI) now also install Include/ subdirectories:
  Include/cpython/ and Include/internal/.