Author steve.dower
Recipients ncoghlan, paul.moore, python-dev, steve.dower, tim.golden, zach.ware
Date 2017-02-04.23:43:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486251815.04.0.810024695358.issue29319@psf.upfronthosting.co.za>
In-reply-to
Content
That change fixes overwriting sys.path[0], the new logic is essentially:

try:
    sys_path0 = sys.path[0]
except:
    sys.path.append(argv0)
else:
    if sys_path0:
        sys.path.insert(0, argv0)
    else:
        sys.path[0] = argv0

I'm leaving this open for the better API fix for 3.7.
History
Date User Action Args
2017-02-04 23:43:35steve.dowersetrecipients: + steve.dower, paul.moore, ncoghlan, tim.golden, python-dev, zach.ware
2017-02-04 23:43:35steve.dowersetmessageid: <1486251815.04.0.810024695358.issue29319@psf.upfronthosting.co.za>
2017-02-04 23:43:35steve.dowerlinkissue29319 messages
2017-02-04 23:43:34steve.dowercreate