3 ms·
IIRC the change is related to the change in `iter` which in python2 returns `None` after exhausting a list but in python3 will raise `StopIteration`. Very anno
by _callcc 11y ago
IIRC the change is related to the change in `iter` which in python2 returns `None` after exhausting a list but in python3 will raise `StopIteration`.
Very annoying TBH. I had some really nice list chunking functions using `map` on python2 that no longer work on python3.