<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Hassan,<div>I think this is unlikely to get added to the standard library as it is listed as a recipe in the itertools module (<a href="https://docs.python.org/3/library/itertools.html#itertools-recipes">https://docs.python.org/3/library/itertools.html#itertools-recipes</a>).</div><div><br></div><div>You may want to check out the more-itertools package (<a href="https://more-itertools.readthedocs.io/en/latest/">https://more-itertools.readthedocs.io/en/latest/</a>) which includes all the recipes listed, as well as some other functions.</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 15, 2018 at 8:16 PM Hasan Diwan <<a href="mailto:hasan.diwan@gmail.com">hasan.diwan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[if this isn't the correct spot, let me know and I'll gladly take it elsewhere]<br>
I have found myself needing powerset functionality several times<br>
recently to the point where I wondered if there's interest in making<br>
it part of the standard library. I have a working implementation and<br>
tests. Would take but 3 minutes to add it in and issue a pull request,<br>
but I'd like to know if there's interest from esteemed group members.<br>
Thanks for the quick turnaround. -- H<br>
<br>
-- <br>
OpenPGP: <a href="https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1" rel="noreferrer" target="_blank">https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1</a><br>
If you wish to request my time, please do so using <a href="http://bit.ly/hd1AppointmentRequest" rel="noreferrer" target="_blank">bit.ly/hd1AppointmentRequest</a>.<br>
Si vous voudrais faire connnaisance, allez a <a href="http://bit.ly/hd1AppointmentRequest" rel="noreferrer" target="_blank">bit.ly/hd1AppointmentRequest</a>.<br>
<br>
Sent from my mobile device<br>
Envoye de mon portable<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofconduct/</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Sebastian Kreft</div>