New submission from Paul Moore:

The Python launcher for windows should recognise a hashbang line of 
#!/usr/bin/env python, and use the python executable found on PATH to run the 
script. If no python executable is present on PATH the launcher should fall 
back to the current behaviour (using the default python, as if 
#!/usr/bin/python were present).

This matches the behaviour on other platforms where env is used to ensure that 
the script uses the user's currently activated Python, and is particularly 
important when virtualenvs are being used.

----------
assignee: vinay.sajip
components: Windows
messages: 188347
nosy: pmoore, vinay.sajip
priority: normal
severity: normal
status: open
title: Python launcher for windows should search path for #!/usr/bin/env
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to