Message122862
| Author |
loewis |
| Recipients |
belopolsky, ezio.melotti, lemburg, loewis |
| Date |
2010年11月29日.20:10:55 |
| SpamBayes Score |
0.044903457 |
| Marked as misclassified |
No |
| Message-id |
<1291061459.3.0.34838576769.issue10575@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is not a bug, see
http://www.unicode.org/reports/tr44/#Numeric_Value
Characters have a Numeric_Type property of either null, Decimal, Digit, or Numeric. For non-Unihan characters, this is denoted by filling out either no column, or (6,7,and 8), or (7 and 8), or (8), respectively, as implemented by makeunicodedata.py. Unihan characters have only null or Numeric as their Numeric_Type property, never Decimal nor Digit, see
http://www.unicode.org/reports/tr44/#Numeric_Type_Han
Therefore, it is correct that digit() raises a ValueError for U+4e09. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月29日 20:10:59 | loewis | set | recipients:
+ loewis, lemburg, belopolsky, ezio.melotti |
| 2010年11月29日 20:10:59 | loewis | set | messageid: <1291061459.3.0.34838576769.issue10575@psf.upfronthosting.co.za> |
| 2010年11月29日 20:10:55 | loewis | link | issue10575 messages |
| 2010年11月29日 20:10:55 | loewis | create |
|