Message289275
Slightly correction, as I didn't have the isolated mode equivalents quite correct:
python3 -s script_dir/__main__.py
python3 -s script_dir
python3 -I script_dir
Isolated mode still runs the system site.py, which turns out to be signficant in a development checkout (getpath includes the Lib/ directory twice, and site.py then cleans out the duplicate).
So I think this PR is the right fix, but need confirmation from Steve that it still solves the original problem reported in issue 29319.
(Note the current PR is open against the 3.6 branch - I'm going to make a new single-commit one against master, flagging it for cherry-picking, then close this one) |
|
Date |
User |
Action |
Args |
2017-03-09 06:08:37 | ncoghlan | set | recipients:
+ ncoghlan, nedbat, ned.deily, eryksun, steve.dower |
2017-03-09 06:08:37 | ncoghlan | set | messageid: <1489039717.18.0.497430039282.issue29723@psf.upfronthosting.co.za> |
2017-03-09 06:08:37 | ncoghlan | link | issue29723 messages |
2017-03-09 06:08:36 | ncoghlan | create | |
|