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 mark.dickinson
Recipients anakha, mark.dickinson
Date 2008-06-20.10:52:58
SpamBayes Score 0.26384437
Marked as misclassified No
Message-id <1213959179.05.0.336537781123.issue3004@psf.upfronthosting.co.za>
In-reply-to
Content
> 0 <= start <= stop <= length    if step is positive, and
> length-1 >= start >= stop >= -1 if step is negative.

That should be:

0 <= start <= length and 0 <= stop <= length  (step > 0), and
length-1 >= start >= -1, length-1 >= stop >= -1 (step < 0);

it's not guaranteed that start <= stop always holds in the first case,
or that start >= stop in the second.
History
Date User Action Args
2008-06-20 10:52:59mark.dickinsonsetspambayes_score: 0.263844 -> 0.26384437
recipients: + mark.dickinson, anakha
2008-06-20 10:52:59mark.dickinsonsetspambayes_score: 0.263844 -> 0.263844
messageid: <1213959179.05.0.336537781123.issue3004@psf.upfronthosting.co.za>
2008-06-20 10:52:58mark.dickinsonlinkissue3004 messages
2008-06-20 10:52:58mark.dickinsoncreate