[Python-checkins] r55402 - peps/trunk/pep-3131.txt

martin.v.loewis python-checkins at python.org
Thu May 17 17:11:35 CEST 2007


Author: martin.v.loewis
Date: Thu May 17 17:11:31 2007
New Revision: 55402

Modified:
   peps/trunk/pep-3131.txt
Log:
Add UTR#39 discussion.


Modified: peps/trunk/pep-3131.txt
==============================================================================
--- peps/trunk/pep-3131.txt	(original)
+++ peps/trunk/pep-3131.txt	Thu May 17 17:11:31 2007
@@ -120,10 +120,30 @@
    (such as pydoc) must be verified to continue to work when Unicode
    strings appear in ``__dict__`` slots as keys.
 
+Open Issues
+===========
+
+John Nagle suggested consideration of Unicode Technical Standard #39,
+[2]_, which discusses security mechanisms for Unicode identifiers.
+It's not clear how that can precisely apply to this PEP; possible
+consequences are
+
+ * warn about characters listed as "restricted" in xidmodifications.txt
+ * warn about identifiers using mixed scripts
+ * somehow perform Confusable Detection
+
+In the latter two approaches, it's not clear how precisely the
+algorithm should work. For mixed scripts, certain kinds of mixing
+should probably allowed - are these the "Common" and "Inherited"
+scripts mentioned in section 5? For Confusable Detection, it seems one
+needs two identifiers to compare them for confusion - is it possible
+to somehow apply it to a single identifier only, and warn?
+
 References
 ==========
 
 .. [1] http://www.unicode.org/reports/tr31/
+.. [2] http://www.unicode.org/reports/tr39/
 
 
 Copyright


More information about the Python-checkins mailing list