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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com