bpo-34170: Cleanup pymain_run_python() by vstinner · Pull Request #8455 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Sign up

Appearance settings

Merged

vstinner merged 1 commit intopython:masterfrom

vstinner:main_importer_path

Jul 25, 2018

Merged

bpo-34170: Cleanup pymain_run_python()#8455

vstinner merged 1 commit intopython:masterfrom

vstinner:main_importer_path

Conversation

@vstinner

Copy link Copy Markdown

Member

@vstinner vstinner commented

Jul 25, 2018

edited by bedevere-bot

Loading

  • Move _PyMain.main_importer_path inside pymain_run_python
  • If main_importer_path is non-NULL, update sys.path[0] earlier

https://bugs.python.org/issue34170

* Move _PyMain.main_importer_path inside pymain_run_python
* If main_importer_path is non-NULL, update sys.path[0] earlier

@vstinner vstinner merged commit d3b1919 into python:master

Jul 25, 2018

@vstinner vstinner deleted the main_importer_path branch

July 25, 2018 08:21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner @the-knights-who-say-ni @bedevere-bot