]> granicus.if.org Git - python/commit
bpo-36763: Add _PyCoreConfig_SetArgv() (GH-13030)
authorVictor Stinner <vstinner@redhat.com>
Wed, 1 May 2019 00:30:12 +0000 (02:30 +0200)
committerGitHub <noreply@github.com>
Wed, 1 May 2019 00:30:12 +0000 (02:30 +0200)
commit5f38b8407b071acd96da2c8cde411d0e26967735
treecac8a6046fcef2a6b0f1efb56714c4750c90bdb6
parent463b82a3efe8a6a9f3924a5b37482e961dffe3b8
bpo-36763: Add _PyCoreConfig_SetArgv() (GH-13030)

* Add 2 new config methods:

  * _PyCoreConfig_SetArgv()
  * _PyCoreConfig_SetWideArgv()

* Add also an internal _PyCoreConfig_SetPyArgv() method.
* Remove 'args' parameter from _PyCoreConfig_Read().
Include/internal/pycore_coreconfig.h
Lib/test/pythoninfo.py
Python/coreconfig.c
Python/pathconfig.c
Python/pylifecycle.c