[Python-checkins] python/dist/src/Modules unicodedata.c,2.19,2.20 unicodedata_db.h,1.5,1.6 unicodename_db.h,1.3,1.4

loewis@users.sourceforge.net loewis@users.sourceforge.net
2002年10月18日 09:12:00 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv10274/Modules
Modified Files:
	unicodedata.c unicodedata_db.h unicodename_db.h 
Log Message:
Update to Unicode 3.2 database.
Index: unicodedata.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/unicodedata.c,v
retrieving revision 2.19
retrieving revision 2.20
diff -C2 -d -r2.19 -r2.20
*** unicodedata.c	23 Jul 2002 06:31:14 -0000	2.19
--- unicodedata.c	18 Oct 2002 16:11:51 -0000	2.20
***************
*** 37,41 ****
 code = (int) *PyUnicode_AS_UNICODE(v);
 
! if (code < 0 || code >= 65536)
 index = 0;
 else {
--- 37,41 ----
 code = (int) *PyUnicode_AS_UNICODE(v);
 
! if (code < 0 || code >= 0x110000)
 index = 0;
 else {
***************
*** 220,224 ****
 code = (int) *PyUnicode_AS_UNICODE(v);
 
! if (code < 0 || code >= 65536)
 index = 0;
 else {
--- 220,224 ----
 code = (int) *PyUnicode_AS_UNICODE(v);
 
! if (code < 0 || code >= 0x110000)
 index = 0;
 else {
***************
*** 285,289 ****
 unsigned char* w;
 
! if (code >= 65536)
 return 0;
 
--- 285,289 ----
 unsigned char* w;
 
! if (code >= 0x110000)
 return 0;
 
Index: unicodedata_db.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/unicodedata_db.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** unicodedata_db.h	21 Jan 2001 22:41:08 -0000	1.5
--- unicodedata_db.h	18 Oct 2002 16:11:51 -0000	1.6
***************
*** 1,3 ****
! /* this file was generated by tools\unicode\makeunicodedata.py 2.1 */
 
 /* a list of unique database records */
--- 1,3 ----
! /* this file was generated by Tools/unicode/makeunicodedata.py 2.1 */
 
 /* a list of unique database records */
***************
*** 43,46 ****
--- 43,47 ----
[...4554 lines suppressed...]
! 12766, 12768, 12770, 12772, 12774, 12776, 12778, 12780, 12782, 12784, 
! 12786, 12788, 12790, 12792, 12794, 12796, 12798, 12800, 12802, 12804, 
! 12806, 12808, 12810, 12812, 12814, 12816, 12818, 12820, 12822, 12824, 
! 12826, 12828, 12830, 12832, 12834, 12836, 12838, 12840, 12842, 12844, 
! 12846, 12848, 12850, 12852, 12854, 12856, 12858, 12860, 12862, 12864, 
! 12866, 12868, 12870, 12872, 12874, 12876, 12878, 12880, 12882, 12884, 
! 12886, 12888, 12890, 12892, 12894, 12896, 12898, 12900, 12902, 12904, 
! 12906, 12908, 12910, 12912, 12914, 12916, 12918, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
! 0, 0, 
 };
 
Index: unicodename_db.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/unicodename_db.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** unicodename_db.h	21 Jan 2001 22:41:07 -0000	1.3
--- unicodename_db.h	18 Oct 2002 16:11:51 -0000	1.4
***************
*** 1,3 ****
! /* this file was generated by tools\unicode\makeunicodedata.py 2.1 */
 
 #define NAME_MAXLEN 256
--- 1,3 ----
! /* this file was generated by Tools/unicode/makeunicodedata.py 2.1 */
 
 #define NAME_MAXLEN 256
***************
*** 5,7535 ****
 /* lexicon */
[...17793 lines suppressed...]
! 8692, 6022, 119052, 10005, 12329, 41333, 0, 43, 1942, 0, 0, 41107, 12619, 
! 41121, 3885, 92, 64023, 64022, 64021, 64020, 0, 12451, 64025, 41412, 
! 41485, 12035, 119208, 6254, 10501, 64018, 8890, 12457, 66587, 194837, 0, 
! 64778, 118915, 194834, 120193, 0, 66637, 7995, 8759, 41411, 13094, 12449, 
! 8546, 41414, 65109, 3179, 0, 4720, 10165, 0, 119249, 0, 10751, 0, 12915, 
! 120180, 10535, 0, 0, 0, 6168, 10934, 1946, 294, 41874, 5494, 4639, 0, 
! 12040, 6196, 4498, 0, 64028, 64027, 41789, 41788, 2960, 118786, 118795, 
! 8969, 119887, 10197, 0, 119886, 2950, 11998, 6210, 119890, 370, 3549, 
! 64790, 7801, 4953, 119967, 0, 0, 3297, 10681, 120693, 1135, 194783, 0, 
! 5063, 3517, 2964, 119257, 0, 2552, 41546, 60, 10627, 8649, 8252, 729, 
! 120598, 0, 10541, 0, 64923, 41770, 41547, 9032, 0, 0, 119899, 41215, 
! 119897, 119898, 12832, 119904, 8081, 3761, 3537, 119908, 9137, 119906, 
! 8999, 65343, 3850, 3466, 4327, 0, 9373, 0, 908, 6282, 8611, 9813, 0, 
! 41655, 537, 41511, 4179, 8978, 120540, 119135, 1842, 10527, 120409, 9628, 
! 3848, 12081, 9826, 64502, 1767, 5336, 120200, 64659, 663, 194846, 10780, 
! 0, 13108, 120574, 120204, 120198, 120205, 347, 42112, 40992, 4100, 920, 
! 1811, 1355, 7739, 917547, 3592, 10078, 5318, 0, 0, 120073, 0, 6224, 
! 120470, 9381, 0, 64345, 0, 9281, 3296, 12865, 0, 0, 
 };
 

AltStyle によって変換されたページ (->オリジナル) /