[issue21177] ValueError: byte must be in range(0, 256)
STINNER Victor
report at bugs.python.org
Tue Apr 8 12:54:01 CEST 2014
STINNER Victor added the comment:
> The math-inspired notation [0, 255] may be misinterpreted as a list. You also lose the consistency of preferring half-open intervals everywhere.
Not if you write "x must in the range [0; 255]".
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21177>
_______________________________________
More information about the Python-bugs-list
mailing list