commit | 324ac65cebf4b0141b946452a2604715f1ca7010 | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Wed Aug 18 20:44:58 2010 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Wed Aug 18 20:44:58 2010 +0000 |
tree | 4e7f6013c54da773ccd41db43738d9f2b62c05c8 | |
parent | 36e778ef02b74f8a965da1205813e685e3ffcff4 [diff] |
#5127: Even on narrow unicode builds, the C functions that access the Unicode Database (Py_UNICODE_TOLOWER, Py_UNICODE_ISDECIMAL, and others) now accept and return characters from the full Unicode range (Py_UCS4). The differences from Python code are few: - unicodedata.numeric(), unicodedata.decimal() and unicodedata.digit() now return the correct value for large code points - repr() may consider more characters as printable.