On 29 May 2007, at 19:21, Mark J. Reed wrote:

My expectation before reading the delta was that negative counts
would do a reversal:

"123" x -1 = "321"

('a', 'b', 'c') xx -3 = ('c', 'b', 'a', 'c', 'b', 'a', 'c', 'b', 'a');

I don't know why I think that makes sense, but it was honestly my
first thought.  Does it make sense to anyone else?  Is there a
compelling reason I'm missing for having negative values behave as if
they were zero rather than adding some other potentially useful
functionality?

You're going to surprise people who use x to create padding strings if a negative count produces a padding string of the same length.

--
Andy Armstrong, hexten.net

Reply via email to