Can we get an utilisation context ? 
I don't think it belongs in the stdlib alone on the basis that its output is not linear in the size of its input (but exponential), so it explode even for a mid-sized list, which by nature limits greatly its usage.
The question would be wether or not it is used enough to push it to itertools, which is pretty hard to decide with no examples.

2018-10-16 10:41 GMT+02:00 Hasan Diwan <hasan.diwan@gmail.com>:
Pal,
On Tue, 16 Oct 2018 at 01:36, Pål Grønås Drange <paal.drange@gmail.com> wrote:
> I do however agree that there could be a powerset function there for convenience, but only +0.

That is the best argument I could come up with to justify a
set#powerset method. -- 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@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/



--

--
Nicolas Rolin
| Data Scientist
+ 33 631992617 - nicolas.rolin@tiime.fr


15 rue Auber, 75009 Paris
www.tiime.fr