[issue21177] ValueError: byte must be in range(0, 256)
Antoine Pitrou
report at bugs.python.org
Thu Apr 10 21:47:33 CEST 2014
Antoine Pitrou added the comment:
> There's no real problem. I find "must be in the range [0, 255]" easier to
> understand, but I also would not make a big effort to change this.
The problem is that [0, 255] looks very much like a Python list, not a
range.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21177>
_______________________________________
More information about the Python-bugs-list
mailing list