This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gwideman
Recipients gwideman, mhammond, vinay.sajip
Date 2013-10-02.23:23:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380756240.54.0.811982807968.issue19141@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Vinay, thanks for commenting.  And of course for your efforts on py.exe (and no doubt the debate process.) 

I am trying to draw attention to the situation where the script has no shebang line, and there is no other explicit configuration info for py.exe. (No py.ini file, no py.exe envt variables, no py.exe-specific command-line args).

In that case, the next thing py.exe should check, in my view, is the user's PATH, where they may well have defined which python version they prefer (even if they are unaware of PEP 397 and Launcher).  This rationale is parallel to the one in #17903 that you pointed to.

Currently, py.exe ignores PATH in that case, and falls back to looking through all installed pythons and picking the latest 2.x if available.

> The choosing of 2.x vs. 3.x is also mentioned in the PEP 
The discussion of that issue would be illuminating, but I couldn't find it. Could you point to where this is mentioned in PEP-0397?

Thanks again.
History
Date User Action Args
2013-10-02 23:24:00gwidemansetrecipients: + gwideman, mhammond, vinay.sajip
2013-10-02 23:24:00gwidemansetmessageid: <1380756240.54.0.811982807968.issue19141@psf.upfronthosting.co.za>
2013-10-02 23:24:00gwidemanlinkissue19141 messages
2013-10-02 23:24:00gwidemancreate