]> granicus.if.org Git - python/commit
bpo-34170: Cleanup pymain_run_python() (GH-8455)
authorVictor Stinner <vstinner@redhat.com>
Wed, 25 Jul 2018 08:21:03 +0000 (10:21 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Jul 2018 08:21:03 +0000 (10:21 +0200)
commitd3b191992e0f3c1eb27cb68478b875d60e859976
treea432ab9a717ef44e5dd12c95735a5b3eec5b6e98
parent1dc6e3906acb81163725e98378bf4d1bd1ce771a
bpo-34170: Cleanup pymain_run_python() (GH-8455)

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