[issue21177] ValueError: byte must be in range(0, 256)
Stefan Krah
report at bugs.python.org
Tue Apr 8 11:38:24 CEST 2014
Stefan Krah added the comment:
I think it's possible to misunderstand this error message if the
reader does not realize that range(0, 256) is to be taken literally.
Perhaps we should just use closed intervals of the form [0, 255]
everywhere.
----------
nosy: +skrah
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21177>
_______________________________________
More information about the Python-bugs-list
mailing list