[Python-ideas] Where did we go wrong with negative stride?

Neal Becker ndbecker2 at gmail.com
Sun Oct 27 21:56:35 CET 2013


One thing I find unfortunate and does trip me up in practice, is that
if you want to do a whole sequence up to k from the end:

u[:-k]

hits a singularity if k=0

Sorry, not exactly related to negative stride



More information about the Python-ideas mailing list