>> Having done that, if I want to test whether some index j >> is within the range of indices for this sequence, it >> seems natural to write >> >> if j in r: >> ... > > Fair enough. So maybe *you* can contribute a patch? And maybe we can do the same for xrange() in Py2.6 Raymond