Python's 8-bit cleanness deprecated?

Paul Rubin phr-n2003b at
Mon Feb 3 22:25:32 CET 2003

Skip Montanaro <skip at> writes:
>     Paul> What is this nonsense?  The interpreter is reading comment text
>     Paul> now?  Yucch!
> Given that most operating systems don't have files with data forks
> and resource forks, how would you tell the lexical analyzer what the
> encoding of a particular file is?

How about "from __encodings__ import latin1"?

I think we've already have seen import statements used to control the
lexical analyzer, in "from __future__ import division".

More information about the Python-list mailing list