On Wed, Feb 15, 2006, Bob Ippolito wrote: > 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]. My mistake -- I wasn't thinking of the literal Python function. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4