Author ncoghlan
Recipients Arfrever, brett.cannon, eric.snow, ezio.melotti, mattheww, ncoghlan, vaultah
Date 2017-08-29.09:27:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503998826.53.0.907873794346.issue16217@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2017-08-29 09:27:06ncoghlansetrecipients: + ncoghlan, brett.cannon, mattheww, ezio.melotti, Arfrever, eric.snow, vaultah
2017-08-29 09:27:06ncoghlansetmessageid: <1503998826.53.0.907873794346.issue16217@psf.upfronthosting.co.za>
2017-08-29 09:27:06ncoghlanlinkissue16217 messages
2017-08-29 09:27:06ncoghlancreate