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 wdhwg001
Recipients eryksun, paul.moore, steve.dower, tim.golden, wdhwg001, zach.ware
Date 2016-11-14.18:05:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479146742.27.0.739078491281.issue28686@psf.upfronthosting.co.za>
In-reply-to
Content
Okay. But somehow I still think the current way of handling shebang is confusing. That makes a python3-only script unable to find a way to use both versioned shebang and virtualenv.

Maybe it could be changed to `Command is eligible for path search, or there is no version specification`.

Then if shebang is versioned, py.exe should try to search `PATH` for a versioned executable file(though it might not exist), and fallback to the installed list.

This could be less confusing I think.

And more importantly, virtualenv cannot and shouldn't create registry keys or even hijack py.exe to fix this issue. This change provides a better way.
History
Date User Action Args
2016-11-14 18:05:42wdhwg001setrecipients: + wdhwg001, paul.moore, tim.golden, zach.ware, eryksun, steve.dower
2016-11-14 18:05:42wdhwg001setmessageid: <1479146742.27.0.739078491281.issue28686@psf.upfronthosting.co.za>
2016-11-14 18:05:42wdhwg001linkissue28686 messages
2016-11-14 18:05:42wdhwg001create