How Python works: What do you know about support for negative indices?

Daniel Fetchinson fetchinson at googlemail.com
Fri Sep 10 12:46:18 CEST 2010


> Raymond Hettinger <python at rcn.com> writes:
>
>> It doesn't seem to be common knowledge when and how a[x] gets
>> translated to a[x+len(x)].  So, here's a short info post on how Python
>> supports negative indices for sequences.
>
> Thanks for this. Could you post your messages using a channel that
> doesn't arbitrarily split your paragraphs into long-short-long-short
> lines?

It came across fine for me as well (gmail with basic html interface).

> It makes paragraphs burdensome to read, and I skipped most of the
> message because of that.

You might want to switch to a client where you do not have this problem.

> I encourage anyone whose messages are munged like that to seek
> correction from their mail service provider, and switch to a different
> one until it's fixed.

I encourage anyone who has problems with reading various emails,
newsgroup postings, forums and what not, to start using modern tools
that work with the vast majority of other tools.

Cheers,
Daniel


-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown



More information about the Python-list mailing list