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

Stefan Krah report at bugs.python.org
Fri Apr 11 19:46:00 CEST 2014


Stefan Krah added the comment:

Antoine Pitrou <report at bugs.python.org> wrote:
> > 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.

It's a valid OCaml list;; :P

[Glad that the issue is closed]

----------

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


More information about the Python-bugs-list mailing list