Skip to content

bpo-36763: Cleanup precmdline in _PyCoreConfig_Read()#13371

Merged
vstinner merged 2 commits intopython:masterfrom
vstinner:config_cleanup
May 17, 2019
Merged

bpo-36763: Cleanup precmdline in _PyCoreConfig_Read()#13371
vstinner merged 2 commits intopython:masterfrom
vstinner:config_cleanup

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 17, 2019

precmdline is only needed in _PyCoreConfig_Read(), not in
config_read_cmdline().

  • _PyOS_GetOpt() now takes a list of constant strings
  • precmdline_parse_cmdline(): mark argv as constant

https://bugs.python.org/issue36763

vstinner added 2 commits May 17, 2019 02:36
precmdline is only needed in _PyCoreConfig_Read(), not in
config_read_cmdline().

* Reorganize _PyCoreConfig_Read()
* _PyOS_GetOpt() now takes a list of constant strings
* precmdline_parse_cmdline(): mark argv as constant
@vstinner vstinner merged commit 870b035 into python:master May 17, 2019
@vstinner vstinner deleted the config_cleanup branch May 17, 2019 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants