Movatterモバイル変換


[0]ホーム

URL:


homepage

Message287009

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorsteve.dower
Recipientsncoghlan, paul.moore, python-dev, steve.dower, tim.golden, zach.ware
Date2017-02-04.23:43:34
SpamBayes Score-1.0
Marked as misclassifiedYes
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] = argv0I'm leaving this open for the better API fix for 3.7.
History
DateUserActionArgs
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
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp