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 steve.dower
Recipients eryksun, lukasz.langa, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-05-19.21:48:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589924937.83.0.190005000462.issue40667@roundup.psfhosted.org>
In-reply-to
Content
> To avoid this, process() can set a flag based on the image name that prevents calling maybe_handle_shebang(). 

Or the other solution, which is stop treating "usr/bin/env" as "search PATH" - I'm sure there's another issue open somewhere saying this is the best approach.

At the same time, one other gap is that this would leave the global Scripts folder off of PATH. On one hand, good (for all the same reasons). But on the other hand, people legitimately complain about it and we don't yet have a workaround.

Since the whole point of this exercise is to minimise complaining, it's looking better to just leave people with the devil they know...
History
Date User Action Args
2020-05-19 21:48:57steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, lukasz.langa, zach.ware, eryksun
2020-05-19 21:48:57steve.dowersetmessageid: <1589924937.83.0.190005000462.issue40667@roundup.psfhosted.org>
2020-05-19 21:48:57steve.dowerlinkissue40667 messages
2020-05-19 21:48:57steve.dowercreate