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

Improves test_underpth_nosite_file to reveal why it fails. #1763

Merged
merged 8 commits into from May 23, 2017

Conversation

zooba
Copy link
Member

@zooba zooba commented May 23, 2017

No description provided.

@mention-bot
Copy link

mention-bot commented May 23, 2017

@zooba, thanks for your PR! By analyzing the history of the files in this pull request, we identified @brettcannon, @tiran and @ezio-melotti to be potential reviewers.

@zooba zooba requested a review from zware May 23, 2017
@zooba zooba added the trivial label May 23, 2017
@zooba zooba requested a review from ericsnowcurrently May 23, 2017
Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Other than a small comment, LGTM.

@@ -412,10 +412,11 @@ _Py_InitializeEx_Private(int install_sigs, int install_importlib)
if (interp->sysdict == NULL)
Py_FatalError("Py_Initialize: can't initialize sys dict");
Py_INCREF(interp->sysdict);

PySys_SetPath(Py_GetPath());
Copy link
Member

@ericsnowcurrently ericsnowcurrently May 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a comment here about how Py_GetPath() must be called before the flags get set.

@zooba zooba merged commit 9b33bf5 into python:master May 23, 2017
@zooba zooba deleted the fix-site-test branch May 23, 2017
@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Feb 4, 2018

assert_() is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants