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
Conversation
|
@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. |
Python/pylifecycle.c
Outdated
| @@ -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()); | |||
There was a problem hiding this comment.
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.
|
|
No description provided.