Skip to content

bpo-34170: Cleanup pymain_run_python()#8455

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
Member

@vstinner vstinner commented Jul 25, 2018

  • 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants