Python's 8-bit cleanness deprecated?

Skip Montanaro skip at pobox.com
Mon Feb 3 22:45:38 CET 2003


    Paul> How about "from __encodings__ import latin1"?

I believe the coding cookie scheme was used because some editors already
understand it (Emacs/XEmacs and perhaps vim).  It makes sense to go along
with something others are already using, otherwise each file needing
something would require two strings to specify the same thing, one for the
editor, one for the Python interpreter.

Skip





More information about the Python-list mailing list