New submission from wdhwg001: https://github.com/pypa/virtualenv/issues/979
TL;DR py.exe does not search PATH when using `#! /usr/bin/env python3`. And the right steps I think should be: 1. Search ./ 2. Search PATH 3. Fallback to system installed Python 3 But currently py.exe seems only do Step 3 once the shebang has substring of `python3`. ---------- components: Windows messages: 280740 nosy: paul.moore, steve.dower, tim.golden, wdhwg001, zach.ware priority: normal severity: normal status: open title: py.exe ignored PATH when using python3 shebang type: behavior versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28686> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com