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.

Author eryksun
Recipients eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015-10-10.03:21:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444447306.1.0.629967628506.issue25360@psf.upfronthosting.co.za>
In-reply-to
Content
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 defined as L"pythonw" when building pyw.exe and L"python" when building py.exe. This parallels the existing PYTHON_EXECUTABLE macro.
History
Date User Action Args
2015-10-10 03:21:46eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower
2015-10-10 03:21:46eryksunsetmessageid: <1444447306.1.0.629967628506.issue25360@psf.upfronthosting.co.za>
2015-10-10 03:21:45eryksunlinkissue25360 messages
2015-10-10 03:21:45eryksuncreate