Python's 8-bit cleanness deprecated?

Dale Strickland-Clark dale at riverhall.NOTHANKS.co.uk
Wed Feb 5 02:08:56 CET 2003


Paul Rubin <phr-n2003b at NOSPAMnightsong.com> wrote:

>Brian Quinlan <brian at sweetapp.com> writes:
>> Just add:
>> # -*- coding: Latin-1 -*-
>> 
>> to the top of your source files and you will be fine.
>
>What is this nonsense?  The interpreter is reading comment text now?
>Yucch!

Absolutely. And what if you get the syntax wrong? How close to correct
does it have to be before you get told you've got it wrong?

Is everything bracketed by -*- on line 1-2 now parsed? 

Parsing comments is a very poor solution.

--
Dale Strickland-Clark
Riverhall Systems Ltd




More information about the Python-list mailing list