PEP0238 lament
Terry Reedy
tjreedy at home.com
Sun Jul 29 19:26:24 EDT 2001
"David Boddie" <david at boddie.net> wrote in message
news:18289ee4.0107291329.6d082ccf at posting.google.com...
> > And would the same benefit arise by having the default name
> > of the executable be "python3", but not forcing it to be so?
>
> I would imagine that renaming your new "python3" interpreter to
> "python" would wipe out any advantage that the above plan gives you.
The only way to force a name for the executable is to check argv[0]
and die if it does not end 'python3' (after being lowercased). I
personally would find that kind of obnoxious.
Besides which, DOS/windows has not always correctly filled in argv
correctly, I've read.
Terry J. Reedy
More information about the Python-list
mailing list