]> granicus.if.org Git - python/commit
bpo-32030: Add _PyMainInterpreterConfig.program_name (#4548)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 24 Nov 2017 23:01:23 +0000 (00:01 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Nov 2017 23:01:23 +0000 (00:01 +0100)
commitf04ebe2a4d68b194deeb438e9185efdafc10a832
treea6c6eb6febcdedcb094d8409d2f9ef7cc8716a32
parent46972b7bc385ec2bdc7f567bbd22c9e56ffdf003
bpo-32030: Add _PyMainInterpreterConfig.program_name (#4548)

* Py_Main() now calls Py_SetProgramName() earlier to be able to get
  the program name in _PyMainInterpreterConfig_ReadEnv().
* Rename prog to program_name
* Rename progpath to program_name
Include/pystate.h
Modules/getpath.c
Modules/main.c
PC/getpathp.c
Python/pylifecycle.c