Vedran Čačić added the comment:

Yes, that's the precise reason I caught this. I was implementing some tools to 
do with Sequences (seqtools, like itertools but having non-ephemeral output 
given non-ephemeral input), and the Sequence that was easiest to test quickly 
was range. In `positions` (like .index but gives all the places a value 
appears), it raised TypeError.

----------

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

Reply via email to