Message15509
slices such as a[:7] give a key of slice(0,7,None)
whereas a[:7.1] gives a key of slice(None,7.1,None)
Slices should not assume that the object indices
begin at zero, since that is actually a characteristic of
the object. The current behavior cripples an object that
wants, say, to start its indices with negative numbers.
a[:7] should pass a key of slice(None,7,None).
Thanks!
russt@agilityfund.com
|
|
Date |
User |
Action |
Args |
2007-08-23 14:12:32 | admin | link | issue723806 messages |
2007-08-23 14:12:32 | admin | create | |
|