Numeric type conversions

Peter Otten __peter__ at
Tue Jun 17 19:35:36 CEST 2008

John Dann wrote:

> On Tue, 17 Jun 2008 08:58:11 -0700 (PDT), MRAB
> <google at> wrote:
>>Please note that in slicing the start position is included and the end
>>position is excluded, so that should be ByteStream[12:14].
> Yes, I just tripped over that, in fact, hence the error in my original
> post. I suppose there must be some logic in including the start
> position but excluding the end position, though it does escape me for
> now. I can understand making a range inclusive or exclusive but not a
> mixture of the two.


More information about the Python-list mailing list