C can call Py_UNICODE functions with values > sys.maxunicode
Found when building scipy. Code that calls the Py_UNICODE_IS*
functions can use values ch>=sys.maxunicode
. In CPython these functions are switch functions with hard-coded values. PyPy calls into unicodedb, which does not protect from invalid values.