Python's 8-bit cleanness deprecated?
Jp Calderone
exarkun at intarweb.us
Fri Feb 7 22:28:27 EST 2003
On Sat, Feb 08, 2003 at 01:21:33AM +0200, Kirill Simonov wrote:
> * Jp Calderone <exarkun at intarweb.us>:
> > On Sat, Feb 08, 2003 at 12:48:46AM +0200, Kirill Simonov wrote:
> > > * Jp Calderone <exarkun at intarweb.us>:
> > > > Source files that are using non-ASCII encodings are precisely
> > > > the ones that this feature benefits.
> > > > It allows anyone to look at these files and actually *read* them.
> > >
> > > The only editor that can read the encoding declaration is emacs. Do you
> > > assume that *anyone* use emacs?
> >
> > Who said anything about -reading- the encoding declarations?
>
> You wrote "It allows anyone to look at these files and actually
> *read* them". I thought that you meant decoding source files according
> to the encoding declaration.
>
Ahh, true. I should have phrased that better.
What I meant was that while the editor might be smart enough to pick up
the encoding, the actual person doing the reading should *always* be smart
enough to see "coding: <something>" in the first two lines and take the
appropriate action to have the source display properly.
With no encoding specified at all, it can be an exercise in futility to
get a source file rendered properly.
Jp
--
Seduced, shaggy Samson snored.
She scissored short. Sorely shorn,
Soon shackled slave, Samson sighed,
Silently scheming,
Sightlessly seeking
Some savage, spectacular suicide.
-- Stanislaw Lem, "Cyberiad"
--
up 54 days, 7:50, 3 users, load average: 0.00, 0.01, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030207/5cab7985/attachment.sig>
More information about the Python-list
mailing list