[Python-checkins] [python/cpython] 6b42eb: bpo-29585: Fix sysconfig.get_config_var("PYTHONFRA...

GitHub noreply at github.com
Thu Jun 29 02:31:39 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 6b42eb17649bed9615b6e6cecaefdb2f46990b2c
      https://github.com/python/cpython/commit/6b42eb17649bed9615b6e6cecaefdb2f46990b2c
  Author: INADA Naoki <methane at users.noreply.github.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M PC/pyconfig.h
    M Python/sysmodule.c
    M configure
    M configure.ac
    M pyconfig.h.in

  Log Message:
  -----------
  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).




More information about the Python-checkins mailing list