[Python-checkins] r84354 - peps/trunk/pep-0008.txt

georg.brandl python-checkins at python.org
Sun Aug 29 21:54:09 CEST 2010


Author: georg.brandl
Date: Sun Aug 29 21:54:09 2010
New Revision: 84354

Log:
Even if utf-8 is the default for Python, it may not be for the editor.

Modified:
   peps/trunk/pep-0008.txt

Modified: peps/trunk/pep-0008.txt
==============================================================================
--- peps/trunk/pep-0008.txt	(original)
+++ peps/trunk/pep-0008.txt	Sun Aug 29 21:54:09 2010
@@ -127,11 +127,11 @@
     Latin-1 encoding (a.k.a. ISO-8859-1).  For Python 3.0 and beyond,
     UTF-8 is preferred over Latin-1, see PEP 3120.
 
-    Files using ASCII (or UTF-8, for Python 3.0) should not have a
-    coding cookie.  Latin-1 (or UTF-8) should only be used when a
-    comment or docstring needs to mention an author name that requires
-    Latin-1; otherwise, using \x, \u or \U escapes is the preferred
-    way to include non-ASCII data in string literals.
+    Files using ASCII should not have a coding cookie.  Latin-1 (or
+    UTF-8) should only be used when a comment or docstring needs to
+    mention an author name that requires Latin-1; otherwise, using
+    \x, \u or \U escapes is the preferred way to include non-ASCII
+    data in string literals.
 
     For Python 3.0 and beyond, the following policy is prescribed for
     the standard library (see PEP 3131): All identifiers in the Python


More information about the Python-checkins mailing list