[Python-checkins] python/dist/src/Tools/unicode makeunicodedata.py,1.12,1.13

loewis@users.sourceforge.net loewis@users.sourceforge.net
Fri, 18 Oct 2002 09:11:56 -0700


Update of /cvsroot/python/python/dist/src/Tools/unicode
In directory usw-pr-cvs1:/tmp/cvs-serv10274/Tools/unicode

Modified Files:
	makeunicodedata.py 
Log Message:
Update to Unicode 3.2 database.


Index: makeunicodedata.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/unicode/makeunicodedata.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** makeunicodedata.py	11 Sep 2002 20:36:01 -0000	1.12
--- makeunicodedata.py	18 Oct 2002 16:11:54 -0000	1.13
***************
*** 449,453 ****
      def __init__(self, filename, expand=1):
          file = open(filename)
!         table = [None] * 65536
          while 1:
              s = file.readline()
--- 449,453 ----
      def __init__(self, filename, expand=1):
          file = open(filename)
!         table = [None] * 0x110000
          while 1:
              s = file.readline()
***************
*** 477,481 ****
          self.filename = filename
          self.table = table
!         self.chars = range(65536) # unicode
  
      def uselatin1(self):
--- 477,481 ----
          self.filename = filename
          self.table = table
!         self.chars = range(0x110000) # unicode 3.2
  
      def uselatin1(self):