Sept. 19, 2016
1:13 a.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 <report@bugs.python.org> <http://bugs.python.org/issue28197> _______________________________________