]> granicus.if.org Git - python/commit
bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483)
authorINADA Naoki <methane@users.noreply.github.com>
Thu, 29 Jun 2017 06:31:38 +0000 (15:31 +0900)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2017 06:31:38 +0000 (15:31 +0900)
commit6b42eb17649bed9615b6e6cecaefdb2f46990b2c
treeda7ca04b814551d5834b84281020d8fd49015035
parent7526cadd64566725ffc56071a7208828a46ddbd8
bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483)

`PYTHONFRAMEWORK` is defined in `Makefile` and it shoulnd't be used
in `pyconfig.h`.

`sysconfig.py --generate-posix-vars` reads config vars from Makefile
and `pyconfig.h`.  Conflicting variables should be avoided.

Especially, string config variables in Makefile are unquoted, but
in `pyconfig.h` are keep quoted.  So it should be private (starts with
underscore).
PC/pyconfig.h
Python/sysmodule.c
configure
configure.ac
pyconfig.h.in