Very nice. These solve a number of small but real problems and it looks like a great utility package!
I think the docs of iterutils.split() vs. iterutils.split_iter() might be a little off.
They both claim to return lists but split_iter() says if you want lists, see split(). Without having installed the package yet, my guess is split_iter() returns an iterator. Either way, the docs are contradictory.
One returns a list of lists, the other an iterator of lists.
split_iter() docs say, "split_iter() yields lists of non-separator values," whereas split() docs say, "Returns a list of lists." Still, I'll look at clarifying it. ;)
I think the docs of iterutils.split() vs. iterutils.split_iter() might be a little off.
They both claim to return lists but split_iter() says if you want lists, see split(). Without having installed the package yet, my guess is split_iter() returns an iterator. Either way, the docs are contradictory.
https://boltons.readthedocs.org/en/latest/iterutils.html#ite...
Thanks for this!