Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-36301: Cleanup preconfig.c and coreconfig.c#12563

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:cleanupCopy head branch name to clipboard
Mar 26, 2019
Merged

bpo-36301: Cleanup preconfig.c and coreconfig.c#12563
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:cleanupCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Mar 26, 2019

Copy link
Copy Markdown
Member
  • _PyCoreConfig_Write() now updates _PyRuntime.preconfig
  • Remove _PyPreCmdline_Copy()
  • _PyPreCmdline_Read() now accepts _PyPreConfig and _PyCoreConfig
    optional configurations.
  • Rename _PyPreConfig_ReadFromArgv() to _PyPreConfig_Read(). Simplify
    the code.
  • Calling _PyCoreConfig_Read() no longer adds the warning options
    twice: don't add a warning option if it's already in the list.
  • Rename _PyCoreConfig_ReadFromArgv() to _PyCoreConfig_Read().
  • Rename config_from_cmdline() to _PyCoreConfig_ReadFromArgv().
  • Add more assertions on _PyCoreConfig in _PyCoreConfig_Read().
  • Move some functions.
  • Make some config functions private.

https://bugs.python.org/issue36301

* _PyCoreConfig_Write() now updates _PyRuntime.preconfig
* Remove _PyPreCmdline_Copy()
* _PyPreCmdline_Read() now accepts _PyPreConfig and _PyCoreConfig
  optional configurations.
* Rename _PyPreConfig_ReadFromArgv() to _PyPreConfig_Read(). Simplify
  the code.
* Calling _PyCoreConfig_Read() no longer adds the warning options
  twice: don't add a warning option if it's already in the list.
* Rename _PyCoreConfig_ReadFromArgv() to _PyCoreConfig_Read().
* Rename config_from_cmdline() to _PyCoreConfig_ReadFromArgv().
* Add more assertions on _PyCoreConfig in _PyCoreConfig_Read().
* Move some functions.
* Make some config functions private.
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.