Skip to content

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