[New-bugs-announce] [issue28686] py.exe ignored PATH when using python3 shebang

wdhwg001 report at bugs.python.org
Mon Nov 14 03:07:24 EST 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue28686>
_______________________________________


More information about the New-bugs-announce mailing list