[issue34763] Python lacks 0x4E17

Berker Peksag report at bugs.python.org
Fri May 31 23:50:51 EDT 2019


Berker Peksag <berker.peksag at gmail.com> added the comment:

Tools/unicode/makeunicodedata.py looks at Unihan database for the fields kAccountingNumeric, kOtherNumeric, and kPrimaryNumeric in Unihan_NumericValues.txt:

    https://github.com/python/cpython/blob/549e55a3086d04c13da9b6f33214f6399681292a/Tools/unicode/makeunicodedata.py#L1107-L1119

And as of Unicode version 12.0.0, 0x4E17 isn't listed as numeric there:

    ...
    U+4E00	kPrimaryNumeric	1
    U+4E03	kPrimaryNumeric	7
    U+4E07	kPrimaryNumeric	10000
    U+4E09	kPrimaryNumeric	3
    ...

Is there another way to get this information by using one of the fields shown at

    http://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint=4E17

----------
nosy: +berker.peksag
versions: +Python 3.9 -Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34763>
_______________________________________


More information about the Python-bugs-list mailing list