[issue7212] Retrieve an arbitrary element from a set without removing it

ipatrol report at bugs.python.org
Thu May 27 03:43:57 CEST 2010


ipatrol <ipatrol6010 at yahoo.com> added the comment:

I still see a use in this. I like to use sets for lists of servers or mirrors. There is no compelling reason *not* to add a get() or pick() method, as described in http://en.wikipedia.org/wiki/Set_%28computer_science%29. Sets could be used for many things that lists are currently used for. I request for this to be reopened given the lapse since any action on this.

----------
components: +Interpreter Core -Library (Lib)
nosy: +ipatrol

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7212>
_______________________________________


More information about the Python-bugs-list mailing list