[issue21177] ValueError: byte must be in range(0, 256)

Antoine Pitrou report at bugs.python.org
Fri Apr 11 19:07:00 CEST 2014


Antoine Pitrou added the comment:

> I suggested "must be in the range [0; 255]" which is not a valid Python
> list: ";" is the instruction operator and there is "range" word in front of
> the "list". In my opinion, it's much easier to read and understand it.

I'm -1 on it. It may not be a valid Python list, but it definitely *looks* like a valid Python list, which makes it a double "wtf" IMO.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21177>
_______________________________________


More information about the Python-bugs-list mailing list