2010/4/4 MRAB <pyt...@mrabarnett.plus.com>:
> I've just downloaded the daily snapshot at
> http://svn.python.org/snapshots/python.tar.bz2
>
> In the header file /python/Modules/unicodedata_db.h, there are the
> following lines in the change_records_3_2_0 struct:
>
>        { 255, 255, 255, 255, 1.0 },
>        { 255, 255, 255, 255, 2.0 },
>        { 255, 255, 255, 255, 3.0 },
>        { 255, 255, 255, 255, 4.0 },
>        ...
>        { 255, 255, 255, 255, 1e+16 },
>        { 255, 255, 255, 255, 1e+20 },
>
> Looks like a bug to me.

I don't think so. Unicode 3.2 did contain two entries with large numeric values.
The file Unihan-3.2.0.txt contains these two lines:

U+4EAC  kPrimaryNumeric 10,000,000,000,000,000 ten quadrillion (American)
U+5793  kPrimaryNumeric 100,000,000,000,000,000,000 hundred quintillion
(American)

For some reason newer versions of the unicode standard removed these values.

-- 
Amaury Forgeot d'Arc
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to