]> granicus.if.org Git - python/commit
#5127: Even on narrow unicode builds, the C functions that access the Unicode
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 18 Aug 2010 20:44:58 +0000 (20:44 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 18 Aug 2010 20:44:58 +0000 (20:44 +0000)
commit324ac65cebf4b0141b946452a2604715f1ca7010
tree4e7f6013c54da773ccd41db43738d9f2b62c05c8
parent36e778ef02b74f8a965da1205813e685e3ffcff4
#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.
Include/unicodeobject.h
Lib/test/test_unicode.py
Lib/test/test_unicodedata.py
Misc/NEWS
Objects/unicodectype.c
Objects/unicodetype_db.h
Tools/unicode/makeunicodedata.py