[Python-ideas] Powerset

Sebastian Kreft skreft at gmail.com
Mon Oct 15 14:42:45 EDT 2018


Hi Hassan,
I think this is unlikely to get added to the standard library as it is
listed as a recipe in the itertools module (
https://docs.python.org/3/library/itertools.html#itertools-recipes).

You may want to check out the more-itertools package (
https://more-itertools.readthedocs.io/en/latest/) which includes all the
recipes listed, as well as some other functions.

On Mon, Oct 15, 2018 at 8:16 PM Hasan Diwan <hasan.diwan at gmail.com> wrote:

> [if this isn't the correct spot, let me know and I'll gladly take it
> elsewhere]
> I have found myself needing powerset functionality several times
> recently to the point where I wondered if there's interest in making
> it part of the standard library. I have a working implementation and
> tests. Would take but 3 minutes to add it in and issue a pull request,
> but I'd like to know if there's interest from esteemed group members.
> Thanks for the quick turnaround. -- H
>
> --
> OpenPGP:
> https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
> If you wish to request my time, please do so using
> bit.ly/hd1AppointmentRequest.
> Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest.
>
> Sent from my mobile device
> Envoye de mon portable
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>


-- 
Sebastian Kreft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20181015/74b2dd49/attachment.html>


More information about the Python-ideas mailing list