Python's 8-bit cleanness deprecated?

Terry Reedy tjreedy at udel.edu
Wed Feb 5 21:42:11 EST 2003


"Erik Max Francis" <max at alcyone.com> wrote in message
news:3E41BC1D.4F45E873 at alcyone.com...
> "Anders J. Munch" wrote:
>
> > In the context of how a Python implementation executes a Python
> > program  the shebang line has no effect whatsoever.

If the purpose of the shebang line is only to say *where* to find the
one and only Python interpreter that is on a system, then that is
correct.  But if the purpose is to say *which* interpreter to use (say
1.52 versus 2.2 for a real example), then it is not.   It is a shame
that this 'trick' does not work on all systems for making such a
choice.

> Obviously, but the point here is that it makes a big difference in
the
> real world.  The line in the sand (between "information" and
> "metainformation") you've drawn seems arbitrary.  Certainly the
encoding
> that the Python script has is extremely important to processing it.

Yes.  Specifying which input decoding subprocessor to use is a logical
next step after chosing which interpreter version to use.

Terry J. Reedy






More information about the Python-list mailing list