PEP 3131: Supporting Non-ASCII Identifiers

René Fleschenberg rene at korteklippe.de
Tue May 15 06:21:04 EDT 2007


Anders J. Munch schrieb:
> There's any number of things to be done about that.
> 1. # -*- encoding: ascii -*-

This would limit comments and string literals to ASCII, too. I use "-*-
coding: utf-8 -*-" in all of my code and I am still against this PEP.

It is useful to be able to spell my own name correctly in a comment. It
is not useful to do so in a Python identifier.

-- 
René



More information about the Python-list mailing list