Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from May 17, 2019

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

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
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.

None yet

3 participants