Antoine Pitrou added the comment:

> Yet this error message still gave me a "wtf" moment because I didn't
realize it was talking about python's range() builtin and not about
mathematical term. So even though this message is technically 100%
correct it still doesn't feel right.

If that "wtf" moment makes you more familiar with the range() builtin 
and the fact that it's a full-blown sequence, for example that it
allows writing "256 in range(0, 256)", then it's a rather good thing IMO.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21177>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to