Python's 8-bit cleanness deprecated?
holger krekel
pyth at devel.trillke.net
Mon Feb 3 16:46:38 EST 2003
Paul Rubin wrote:
> Skip Montanaro <skip at pobox.com> 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".
Yip, but __future__ is really such a special thing (nobody
knows what may come out of it) you don't really want to duplicate
this specialness. I assume that such ideas have been discussed
on Python-Dev but i am too lazy to check it (sorry).
holger
More information about the Python-list
mailing list