[Python-ideas] List Revolution

mike.w.meyer@gmail.com mwm at mired.org
Mon Sep 12 08:05:28 CEST 2011


Ok, how about enhancing the list type to allow specifying an offset, defaulting to 0? The offset should be positive, and that many elements simple aren't there. Asking for an element that isn't there, or a slice including such an element, raises value error exception. The iterators & etc for this list would all start at offset instead of zero.
-- 
Sent from my Android tablet with K-9 Mail. Please excuse my brevity.



More information about the Python-ideas mailing list