]> granicus.if.org Git - python/commit
bpo-32030: Add Python/pathconfig.c (#4668)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 1 Dec 2017 19:50:58 +0000 (20:50 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Dec 2017 19:50:58 +0000 (20:50 +0100)
commit0ea395ae964c9cd0f499e2ef0d0030c971201220
tree92e86e1b1754d179c8dc4b397f4fa33e020a3aee
parentebac19dad6263141d5db0a2c923efe049dba99d2
bpo-32030: Add Python/pathconfig.c (#4668)

* Factorize code from PC/getpathp.c and Modules/getpath.c to remove
  duplicated code
* rename pathconfig_clear() to _PyPathConfig_Clear()
* Inline _PyPathConfig_Fini() in pymain_impl() and then remove it,
  since it's a oneliner
Include/internal/pystate.h
Include/pylifecycle.h
Makefile.pre.in
Modules/getpath.c
Modules/main.c
PC/getpathp.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/pathconfig.c [new file with mode: 0644]
Python/pylifecycle.c