[Python-Dev] Non-ASCII characters in test_pep277.py in 2.3

Martin v. Loewis martin@v.loewis.de
07 Oct 2002 16:58:42 +0200


Guido van Rossum <guido@python.org> writes:

> I'm still not 100% comfortable with using arbitrary coding cookies in
> the Python distribution.  I like having the feature, but I would
> prefer if the Python source distribution could be viewed with tools
> that aren't encoding-aware.  

Does that mean you also want to remove test_pep263.py?

> On my Red Hat 7.2 Linux box, I have found no programs that
> understand the UTF8 cookie.

Try IDLE :-)

> They all seem to default to Latin-1.  Since I also don't really want
> to assume Latin-1, I'd prefer if we could stick to ASCII, with the
> exception of tests explicitly needed for PEP 263.

There are a number of files that have Latin-1 in them, mostly in
comments. Should we change those as well?

Regards,
Martin