Skip to content

bpo-35233: Fix _PyMainInterpreterConfig_Copy() - #10519

Merged
vstinner merged 2 commits into
python:masterfrom
vstinner:mainconfig_copy
Nov 13, 2018
Merged

vstinner merged 2 commits into
python:masterfrom
vstinner:mainconfig_copy

Conversation

@vstinner

@vstinner vstinner commented Nov 13, 2018 •

Copy link
Copy Markdown
Member
  • Fix _PyMainInterpreterConfig_Copy(): copy install_signal_handlers
  • Add _PyMainInterpreterConfig_AsDict()
  • Add unit tests on the main interpreter configuration
    to test_embed.InitConfigTests
  • test.pythoninfo: log also main_config

https://bugs.python.org/issue35233

* Fix _PyMainInterpreterConfig_Copy(): copy install_signal_handlers
* Add _PyMainInterpreterConfig_AsDict()
* Add unit tests on the main interpreter configuration
  to test_embed.InitConfigTests
* test.pythoninfo: log also main_config
Disable test on main_config.executable. Fix test on warnoptions and
xoptions.
@vstinner
vstinner merged commit 00b137c into python:master Nov 13, 2018
@vstinner
vstinner deleted the mainconfig_copy branch November 13, 2018 18:59
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @vstinner, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 00b137c72f90fbc39a6cd7e48b37c58d19977180 3.7

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.

4 participants