Guido van Rossum added the comment: I wonder if it would help making i a Py_ssize_t instead of an int? __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1621> __________________________________