[Python-Dev] PEP 332 revival in coordination with pep 349? [ Was:Re: release plan for 2.5 ?]

Bob Ippolito bob at redivi.com
Thu Feb 16 03:49:39 CET 2006


On Feb 15, 2006, at 6:35 PM, Aahz wrote:

> On Tue, Feb 14, 2006, Guido van Rossum wrote:
>>
>> Anyway, I'm now convinced that bytes should act as an array of ints,
>> where the ints are restricted to range(0, 256) but have type int.
>
> range(0, 255)?

No, Guido was correct.  range(0, 256) is [0, 1, 2, ..., 255].

-bob



More information about the Python-Dev mailing list