Robert Bradshaw wrote: > print sizeof(Py_ssize_t), "==", sizeof(unsigned long) > D = { -1: "negative", <unsigned long>-1: "positive" } > print D[<unsigned long>-1] I don't see how that has anything to do with integer indexing. You've already mangled your -1 by casting it to an unsigned long in the first place. -- Greg