individually updating unicodedata db?

Vlastimil Brom vlastimil.brom at
Tue Mar 23 01:19:04 CET 2010

Hi all,
I just tried to find some information about the unicodedata database
and the possibilities of updating it to the latest version of the
unicode standards (currently 5.2, while python supports 5.1 in the
latest versions).
An option to update this database individually might be useful as the
unicode standard updates seem to be more frequent than the official
python releases (and not every release is updated to the latest
available unicode db version either).
Am I right, that this is not possible without recompiling python from source?
I eventually found the promissing file
which required the following files from the unicode database to be in
the same folder:

and also

After a minor correction - addig the missing "import re" - the script
was able to run and recreate the above h files.
I guess, I am stuck here, as I use the precompiled version supplied in
the windows installer and can't compile python from source to obtain
the needed unicodedata.pyd.
Or are there any possibilities I missed to individually upgrade the
unicodedata databese? (Using Python 2.6.5, Win XPh SP3)

Thanks in advance for any hints,

More information about the Python-list mailing list