[Python-Dev] Draft PEP and reference implementation of a Python launcher for Windows
Westley Martínez
anikom15 at gmail.com
Sun Mar 20 23:35:02 CET 2011
On Sun, 2011-03-20 at 05:36 -0400, Terry Reedy wrote:
> On 3/20/2011 3:22 AM, Glenn Linderman wrote:
> On 3/19/2011 7:38 PM, Mark Hammond wrote:
> [snip]
>
> As both a writer and reader, I would like to just add, for instance,
>
> #! python3
>
> (or 3.3 or whatever) and have the launcher do the 'right thing'.
> It seems to me that that really should be enough info for *nix,
> but given that it is not, a program to add the required extra noise for
> a particular distribution to the first line of every module in a package
> should not be too difficult.
>
> The above would be easy for anyone to write and understand.
>
That would break the whole point of platform-independence. UNIX won't
understand that, and I don't think we're gonna be able to convince all
the kernel developers to implement this simplified shebang.
More information about the Python-Dev
mailing list