Message300978
Regarding directories and zipfiles, runpy._run_module_as_main also handles those - the CLI effectively transforms directory and zipfile execution into a "python -m __main__" call with a suitably adjusted sys.path[0] entry (i.e. the given directory or zip archive, rather than the current directory). |
|
Date |
User |
Action |
Args |
2017-08-29 09:27:06 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, mattheww, ezio.melotti, Arfrever, eric.snow, vaultah |
2017-08-29 09:27:06 | ncoghlan | set | messageid: <1503998826.53.0.907873794346.issue16217@psf.upfronthosting.co.za> |
2017-08-29 09:27:06 | ncoghlan | link | issue16217 messages |
2017-08-29 09:27:06 | ncoghlan | create | |
|