Skip to content

bpo-32652: Defer pymain_set_global_config() call #5303

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

Merged
merged 1 commit into from
Jan 25, 2018
Merged

bpo-32652: Defer pymain_set_global_config() call #5303

merged 1 commit into from
Jan 25, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 24, 2018

In Py_Main(), don't call pymain_set_global_config() early: only call
it when the whole configuration has been read.

Add an unit test to prevent future regression.

https://bugs.python.org/issue32652

In Py_Main(), don't call pymain_set_global_config() early: only call
it when the whole configuration has been read.

Add an unit test to prevent future regression.
@vstinner vstinner merged commit 2b822a0 into python:master Jan 25, 2018
@vstinner vstinner deleted the pymain_read_conf_impl branch January 25, 2018 08:18
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