Christian Heimes added the comment: I don't think we can make Py_ssize_t unsigned. On several occasions Python uses -1 as error flag or default flag. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1621> __________________________________