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 paul.moore
Recipients paul.moore, steve.dower, tim.golden, wdhwg001, zach.ware
Date 2016-11-14.09:31:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479115880.59.0.532184399763.issue28686@psf.upfronthosting.co.za>
In-reply-to
Content
1. I don't think searching . should be included - on Unix /usr/bin/env searches PATH, and I believe we should do the same here.

2. The PATH search does happen (from my reading of the code) but it looks for a "python3" command, which isn't available. Again this is the same behaviour as Unix, and so defensible, but given that Windows doesn't provide the versioned executables, it's less useful there.

The biggest problem is that with "#!/usr/bin/env python3" the user clearly expects Python 3, and without versioned executables, we can't guarantee that on Windows for a PATH search. Whether not supporting this usage is worse than supporting it without a guarantee that you'll get Python 3, I'm not sure.
History
Date User Action Args
2016-11-14 09:31:20paul.mooresetrecipients: + paul.moore, tim.golden, zach.ware, steve.dower, wdhwg001
2016-11-14 09:31:20paul.mooresetmessageid: <1479115880.59.0.532184399763.issue28686@psf.upfronthosting.co.za>
2016-11-14 09:31:20paul.moorelinkissue28686 messages
2016-11-14 09:31:20paul.moorecreate