Require comments and string literals to be ASCII only.

This commit is contained in:
Martin v. Löwis 2007-05-17 15:37:31 +00:00
parent 6986d93450
commit 348b685294
1 changed files with 13 additions and 7 deletions

View File

@ -92,14 +92,20 @@ http://www.dcl.hpi.uni-potsdam.de/home/loewis/table-331.html.
Policy Specification
====================
As an addition to the Python Coding style, the following policy is prescribed:
All identifiers in the Python standard library MUST use ASCII-only identifiers,
and SHOULD use English words wherever feasible.
As an addition to the Python Coding style, the following policy is
prescribed: All identifiers in the Python standard library MUST use
ASCII-only identifiers, and SHOULD use English words wherever feasible
(in many cases, abbreviations and technical terms are used which
aren't English). In addition, string literals and comments must also
be in ASCII. The only exceptions are (a) test cases testing the
non-ASCII features, and (b) names of authors. Authors whose names are
not based on the latin alphabet MUST provide a latin transliteration
of their names.
As an option, this specification can be applied to Python 2.x. In that case,
ASCII-only identifiers would continue to be represented as byte string objects
in namespace dictionaries; identifiers with non-ASCII characters would be
represented as Unicode strings.
As an option, this specification can be applied to Python 2.x. In
that case, ASCII-only identifiers would continue to be represented as
byte string objects in namespace dictionaries; identifiers with
non-ASCII characters would be represented as Unicode strings.
Implementation
==============