Thomas Dybdahl Ahle <lob...@gmail.com> added the comment: Why not just add support to the set container? As far as I know, it is a binary search tree, so supporting random picking in O(logn) should be easy.
---------- nosy: +Thomas.Dybdahl.Ahle _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7522> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com