Michael Heerdegen writes: >> I agree, the patch is good as it is now, I'd like to have it >> installed. > > Done. Thanks! > FWIW, if you would like me to push this: I have implemented the sliding > window algorithm as suggested by John, but commented it out, and added a > (hopefully not too wordy) note why we raise an error for now for > negative indexes: I'd rather keep it as it is, at least for now. Cheers, Nico