• Victor Stinner's avatar
    bpo-36142: Move command line parsing to coreconfig.c (GH-12123) · 95e2cbf3
    Victor Stinner yazdı
    * Add _PyCoreConfig_ReadFromArgv() function which parses command line
      options: move code from main.c to coreconfig.c.
    * Add _PyCoreConfig_Write() to write the new configuration: coerce
      the LC_CTYPE locale, set Py_xxx global configuration variables,
      etc.
    * _PyCoreConfig_ReadFromArgv() now only changes the LC_CTYPE locale
      temporarily. _PyCoreConfig_Write() becomes responsible to set the
      LC_CTYPE locale.
    * Add _Py_SetArgcArgv() and _Py_ClearArgcArgv() functions
    * Rename many "pymain_xxx()" functions
    * Add "const" to some function parameters
    * Reorganize main.c to declare functions in the order in which they
      are called.
    95e2cbf3
Adı
Son kayıt (commit)
Son güncelleme
.azure-pipelines Loading commit data...
.github Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Programs Loading commit data...
Python Loading commit data...
Tools Loading commit data...
m4 Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README.rst Loading commit data...
aclocal.m4 Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...