[Python-checkins] r86685 - in python/branches/release31-maint: Misc/NEWS Modules/unicodedata.c

martin.v.loewis python-checkins at python.org
Mon Nov 22 11:52:58 CET 2010


Author: martin.v.loewis
Date: Mon Nov 22 11:52:58 2010
New Revision: 86685

Log:
Issue #10459: Update CJK character names to Unicode 5.1.


Modified:
   python/branches/release31-maint/Misc/NEWS
   python/branches/release31-maint/Modules/unicodedata.c

Modified: python/branches/release31-maint/Misc/NEWS
==============================================================================
--- python/branches/release31-maint/Misc/NEWS	(original)
+++ python/branches/release31-maint/Misc/NEWS	Mon Nov 22 11:52:58 2010
@@ -16,6 +16,8 @@
 Library
 -------
 
+- Issue #10459: Update CJK character names to Unicode 5.1.
+
 - Issue #4493: urllib.request adds '/' in front of path components which does not
   start with '/. Common behavior exhibited by browsers and other clients.
 

Modified: python/branches/release31-maint/Modules/unicodedata.c
==============================================================================
--- python/branches/release31-maint/Modules/unicodedata.c	(original)
+++ python/branches/release31-maint/Modules/unicodedata.c	Mon Nov 22 11:52:58 2010
@@ -871,7 +871,7 @@
 {
     return (
         (0x3400 <= code && code <= 0x4DB5) || /* CJK Ideograph Extension A */
-        (0x4E00 <= code && code <= 0x9FBB) || /* CJK Ideograph */
+        (0x4E00 <= code && code <= 0x9FC3) || /* CJK Ideograph, Unicode 5.1 */
         (0x20000 <= code && code <= 0x2A6D6));/* CJK Ideograph Extension B */
 }
 


More information about the Python-checkins mailing list