This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author russt
Recipients
Date 2003-04-18.18:17:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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
History
Date User Action Args
2007-08-23 14:12:32adminlinkissue723806 messages
2007-08-23 14:12:32admincreate