Tim Peters wrote: > [hash function in unicodename] > > ...on the other hand, it currently assumes that an "int" is at > > least 32 bits. > > > > should I change this? > > Absolutely! "long" is the only way current C has to spell "at least 32". Note that Unicode code which needs enough bits to hold a UCS4 value should always use the Py_UCS4 type (see unicodeobject.h)... any changes needed to assure the 32-bit nature should then be made to the Py_UCS4 typedef. -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4