xrange issue 7721

Martin Manns mmanns at gmx.net
Sun May 30 17:11:56 EDT 2010


On Sun, 30 May 2010 00:49:11 +0100
Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
 
>  From http://docs.python.org/dev/library/itertools.html
> "Unlike regular slicing, islice()  does not support negative values
> for start, stop, or step."
> 
> Rule 1 of programming never assume anything, particularly wrt
> testing. I assume that you are ok with this. :) Dreadful I know :)

Right, never post before reading the fine manual :)

> > I found the msg97928 code pretty obvious when seeing the snippet.
> > If you disagree you may consider re-opening the issue.
> I trust that you get my point regarding the failure to raise a 
> ValueError :)  Or am I wearing my extremely stupid hat today?

Since you seem to find this issue important, are you going to re-open
the issue?

Cheers

Martin




More information about the Python-list mailing list