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.
Created on 2013年05月04日 10:12 by paul.moore, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg188347 - (view) | Author: Paul Moore (paul.moore) * (Python committer) | Date: 2013年05月04日 10:12 | |
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. |
|||
| msg188449 - (view) | Author: Paul Moore (paul.moore) * (Python committer) | Date: 2013年05月05日 17:06 | |
There is a patch for this (against the standalone pylauncher project) at https://bitbucket.org/pmoore/pylauncher. |
|||
| msg190748 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年06月07日 14:37 | |
New changeset a174d79cef2e by Vinay Sajip in branch 'default': Issue #17903: Added path search changes to launcher. http://hg.python.org/cpython/rev/a174d79cef2e |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:45 | admin | set | github: 62103 |
| 2013年06月07日 23:01:12 | vinay.sajip | set | status: open -> closed resolution: fixed stage: resolved |
| 2013年06月07日 14:37:49 | python-dev | set | nosy:
+ python-dev messages: + msg190748 |
| 2013年05月05日 17:06:32 | paul.moore | set | keywords:
+ patch messages: + msg188449 |
| 2013年05月04日 10:12:42 | paul.moore | create | |