]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35081: Add pycore_ prefix to internal header files (GH-10263)
authorVictor Stinner <vstinner@redhat.com>
Wed, 31 Oct 2018 23:52:28 +0000 (00:52 +0100)
committerGitHub <noreply@github.com>
Wed, 31 Oct 2018 23:52:28 +0000 (00:52 +0100)
commit27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e
tree351096bf87da77ee8c4b08362e850e9affd18f8f
parent3a228ab17c2a9cffd1a2f15f30d6209768de20a6
bpo-35081: Add pycore_ prefix to internal header files (GH-10263)

* Rename Include/internal/ header files:

  * pyatomic.h -> pycore_atomic.h
  * ceval.h -> pycore_ceval.h
  * condvar.h -> pycore_condvar.h
  * context.h -> pycore_context.h
  * pygetopt.h -> pycore_getopt.h
  * gil.h -> pycore_gil.h
  * hamt.h -> pycore_hamt.h
  * hash.h -> pycore_hash.h
  * mem.h -> pycore_mem.h
  * pystate.h -> pycore_state.h
  * warnings.h -> pycore_warnings.h

* PCbuild project, Makefile.pre.in, Modules/Setup: add the
  Include/internal/ directory to the search paths of header files.
* Update includes. For example, replace #include "internal/mem.h"
  with #include "pycore_mem.h".
78 files changed:
Include/internal/pycore_atomic.h [moved from Include/internal/pyatomic.h with 100% similarity]
Include/internal/pycore_ceval.h [moved from Include/internal/ceval.h with 96% similarity]
Include/internal/pycore_condvar.h [moved from Include/internal/condvar.h with 100% similarity]
Include/internal/pycore_context.h [moved from Include/internal/context.h with 96% similarity]
Include/internal/pycore_getopt.h [moved from Include/internal/pygetopt.h with 100% similarity]
Include/internal/pycore_gil.h [moved from Include/internal/gil.h with 95% similarity]
Include/internal/pycore_hamt.h [moved from Include/internal/hamt.h with 100% similarity]
Include/internal/pycore_hash.h [moved from Include/internal/hash.h with 100% similarity]
Include/internal/pycore_mem.h [moved from Include/internal/mem.h with 100% similarity]
Include/internal/pycore_state.h [moved from Include/internal/pystate.h with 98% similarity]
Include/internal/pycore_warnings.h [moved from Include/internal/warnings.h with 100% similarity]
Include/pystate.h
Makefile.pre.in
Modules/Setup
Modules/_functoolsmodule.c
Modules/_io/bufferedio.c
Modules/_threadmodule.c
Modules/_xxsubinterpretersmodule.c
Modules/gcmodule.c
Modules/getpath.c
Modules/main.c
Modules/makesetup
Modules/posixmodule.c
Modules/signalmodule.c
Objects/abstract.c
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/call.c
Objects/cellobject.c
Objects/classobject.c
Objects/codeobject.c
Objects/descrobject.c
Objects/dictobject.c
Objects/exceptions.c
Objects/frameobject.c
Objects/funcobject.c
Objects/genobject.c
Objects/iterobject.c
Objects/listobject.c
Objects/memoryobject.c
Objects/methodobject.c
Objects/moduleobject.c
Objects/object.c
Objects/obmalloc.c
Objects/odictobject.c
Objects/setobject.c
Objects/sliceobject.c
Objects/tupleobject.c
Objects/typeobject.c
Objects/unicodeobject.c
PC/getpathp.c
PCbuild/pyproject.props
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Parser/myreadline.c
Parser/pgenmain.c
Python/_warnings.c
Python/bltinmodule.c
Python/ceval.c
Python/ceval_gil.h
Python/codecs.c
Python/condvar.h
Python/context.c
Python/coreconfig.c
Python/dynload_shlib.c
Python/errors.c
Python/frozenmain.c
Python/getopt.c
Python/hamt.c
Python/import.c
Python/pathconfig.c
Python/pylifecycle.c
Python/pystate.c
Python/pythonrun.c
Python/symtable.c
Python/sysmodule.c
Python/thread.c
Python/traceback.c