18 Sep
2016
18 Sep
'16
7:13 p.m.
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