[Python-checkins] r57023 - peps/trunk/pep-3131.txt
martin.v.loewis
python-checkins at python.org
Tue Aug 14 18:35:41 CEST 2007
Author: martin.v.loewis
Date: Tue Aug 14 18:35:39 2007
New Revision: 57023
Modified:
peps/trunk/pep-3131.txt
Log:
Use NFKC, and XID_Start/Continue.
Modified: peps/trunk/pep-3131.txt
==============================================================================
--- peps/trunk/pep-3131.txt (original)
+++ peps/trunk/pep-3131.txt Tue Aug 14 18:35:39 2007
@@ -69,18 +69,18 @@
classification uses the version of the Unicode Character Database as included in
the ``unicodedata`` module.
-The identifier syntax is ``<ID_Start> <ID_Continue>*``.
+The identifier syntax is ``<XID_Start> <XID_Continue>*``.
-``ID_Start`` is defined as all characters having one of the general
+``XID_Start`` is defined as all characters having one of the general
categories uppercase letters (Lu), lowercase letters (Ll), titlecase
letters (Lt), modifier letters (Lm), other letters (Lo), letter
numbers (Nl), the underscore, and characters carrying the
-Other_ID_Start property.
+Other_ID_Start property (XXX adjust for XID_Start).
-``ID_Continue`` is defined as all characters in ``ID_Start``, plus
+``XID_Continue`` is defined as all characters in ``XID_Start``, plus
nonspacing marks (Mn), spacing combining marks (Mc), decimal number
(Nd), connector punctuations (Pc), and characters carryig the
-Other_ID_Continue property.
+Other_ID_Continue property (XXX adjust for XID_Continue).
All identifiers are converted into the normal form NFKC while parsing;
comparison of identifiers is based on NFKC.
More information about the Python-checkins
mailing list