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

Andrew Barnert abarnert at yahoo.com
Tue Jan 6 18:39:57 CET 2015

On Jan 6, 2015, at 16:22, Paul Moore <p.f.moore at gmail.com> wrote:

> 2. The times I've needed this have been ad-hoc scripts (I'm on
> Windows, so while a Unix user might use a quick shell pipeline with
> comm, that's less convenient for me) where depending on a 3rd party
> distribution from PyPI is less ideal.

Why? Current standard Windows installers include pip, and being pure Python you won't need a compiler, so what's wrong with requiring a PyPI distribution? (Of course that means you need to be able to count on a relatively recent Python 3.4+/2.7+, but it's hard to see how that's worse than something in a future version of the stdlib, which would mean you need to be able to count on 3.5+.)

And I'll bet if you submit this as a pull request to more-itertools, it'll be accepted, meaning you don't even have to create or maintain a PyPI project.

More information about the Python-ideas mailing list