]> granicus.if.org Git - python/commit
Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. ...
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 4 Dec 2017 12:39:15 +0000 (13:39 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Dec 2017 12:39:15 +0000 (13:39 +0100)
commit31a8393cf6a74c870c3484dd68500619f6232c6d
tree11a7d0b4f4df344e1dbe9798a7d48ca2acc8abae
parent70d56fb52582d9d3f7c00860d6e90570c6259371
Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681)" (#4694)

* Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681)"

This reverts commit 13badcbc60cdbfae1dba1683fd2fae9d70717143.

Re-apply commits:

* "bpo-32030: _PyPathConfig_Init() sets home and program_name (#4673)"
  commit af5a895073c24637c094772b27526b94a12ec897.
* "bpo-32030: Fix config_get_program_name() on macOS (#4669)"
  commit e23c06e2b03452c9aaf0dae52296c85e572f9bcd.
* "bpo-32030: Add Python/pathconfig.c (#4668)"
  commit 0ea395ae964c9cd0f499e2ef0d0030c971201220.
* "bpo-32030: Don't call _PyPathConfig_Fini() in Py_FinalizeEx() (#4667)"
  commit ebac19dad6263141d5db0a2c923efe049dba99d2.
* "bpo-32030: Fix Py_GetPath(): init program_name (#4665)"
  commit 9ac3d8882712c9675c3d2f9f84af6b5729575cde.

* Fix compilation error on macOS
12 files changed:
Doc/c-api/init.rst
Include/internal/pystate.h
Include/pylifecycle.h
Include/pystate.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