Author ncoghlan
Recipients eryksun, ncoghlan, ned.deily, nedbat, steve.dower
Date 2017-03-09.06:08:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489039717.18.0.497430039282.issue29723@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2017-03-09 06:08:37ncoghlansetrecipients: + ncoghlan, nedbat, ned.deily, eryksun, steve.dower
2017-03-09 06:08:37ncoghlansetmessageid: <1489039717.18.0.497430039282.issue29723@psf.upfronthosting.co.za>
2017-03-09 06:08:37ncoghlanlinkissue29723 messages
2017-03-09 06:08:36ncoghlancreate