]> granicus.if.org Git - python/commit
bpo-35081: And pycore_lifecycle.h and pycore_pathconfig.h (GH-10273)
authorVictor Stinner <vstinner@redhat.com>
Thu, 1 Nov 2018 02:15:58 +0000 (03:15 +0100)
committerGitHub <noreply@github.com>
Thu, 1 Nov 2018 02:15:58 +0000 (03:15 +0100)
commita1c249c40517917d2e0971d55aea8d14a44b2cc8
tree626ca174cb49d8dd299f529cc100485a08bea9d2
parente281f7d80ce2584a7e6a36acffb5a9cd796a0fe2
bpo-35081: And pycore_lifecycle.h and pycore_pathconfig.h (GH-10273)

* And pycore_lifecycle.h and pycore_pathconfig.h headers to
  Include/internal/
* Move Py_BUILD_CORE specific code from coreconfig.h and
  pylifecycle.h to pycore_pathconfig.h and pycore_lifecycle.h
* Move _Py_wstrlist_XXX() definitions and _PyPathConfig code
  from pycore_state.h to pycore_pathconfig.h
* Move "Init" and "Fini" function definitions from pylifecycle.c to
  pycore_lifecycle.h.
17 files changed:
Include/coreconfig.h
Include/internal/pycore_lifecycle.h [new file with mode: 0644]
Include/internal/pycore_pathconfig.h [new file with mode: 0644]
Include/internal/pycore_state.h
Include/pylifecycle.h
Makefile.pre.in
Modules/_testcapimodule.c
Modules/getpath.c
Modules/main.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Programs/python.c
Python/coreconfig.c
Python/import.c
Python/pathconfig.c
Python/pylifecycle.c
Python/sysmodule.c