[issue25360] pyw should search for pythonw to implement #!/usr/bin/env python

2015-12-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2af2367d7eda by Vinay Sajip in branch '3.5': Fixes #25360: Search for pythonw.exe when in pyw.exe. https://hg.python.org/cpython/rev/2af2367d7eda New changeset ba1e102c3320 by Vinay Sajip in branch 'default': Closes #25360: Merged fix from 3.5. http

[issue25360] pyw should search for pythonw to implement #!/usr/bin/env python

2015-10-09 Thread eryksun
Changes by eryksun : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue25360] pyw should search for pythonw to implement #!/usr/bin/env python

2015-10-09 Thread eryksun
New submission from eryksun: The Windows launcher searches PATH to implement the shebang "#!/usr/bin/env". Given "#!/usr/bin/env python", it always searches for L"python" (see issue 17903), even in pyw.exe. maybe_handle_shebang in PC/launcher.c should instead use a macro that's conditionally d