[Python-ideas] Possible new itertool: comm()

Raymond Hettinger raymond.hettinger at gmail.com
Tue Jan 6 18:14:01 CET 2015


> On Jan 6, 2015, at 8:22 AM, Paul Moore <p.f.moore at gmail.com> wrote:
> 
> In writing a utility script today, I found myself needing to do
> something similar to what the Unix "comm" utility does - take two
> sorted iterators, and partition the values into "only in the first",
> "only in the second", and "in both" groups.

As far as I can tell, this would be a very rare need.


Raymond


More information about the Python-ideas mailing list