Message280743
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. |
|
Date |
User |
Action |
Args |
2016-11-14 09:31:20 | paul.moore | set | recipients:
+ paul.moore, tim.golden, zach.ware, steve.dower, wdhwg001 |
2016-11-14 09:31:20 | paul.moore | set | messageid: <1479115880.59.0.532184399763.issue28686@psf.upfronthosting.co.za> |
2016-11-14 09:31:20 | paul.moore | link | issue28686 messages |
2016-11-14 09:31:20 | paul.moore | create | |
|