[Python-Dev] Draft PEP and reference implementation of a Python launcher for Windows

R. David Murray rdmurray at bitdance.com
Mon Mar 21 00:39:25 CET 2011


On Sun, 20 Mar 2011 15:35:02 -0700, Westley =?ISO-8859-1?Q?Mart=EDnez?= <anikom15 at gmail.com> wrote:
> 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.

+1.  If one of the points is to be compatible with PEP 394, then
the above seems like a bad idea.

However, I don't use windows, so I don't know if my vote should
count ;)

--
R. David Murray           http://www.bitdance.com


More information about the Python-Dev mailing list