This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ipatrol
Recipients ipatrol
Date 2010-05-27.01:25:07
SpamBayes Score 0.0054987124
Marked as misclassified No
Message-id <1274923510.24.0.670260490915.issue8830@psf.upfronthosting.co.za>
In-reply-to
Content
I see in a lot of references for computer programming a function that returns an arbitrary value from a standard or frozen set. http://en.wikipedia.org/wiki/Set_%28computer_science%29 describes it as pick. It surprised me when I discovered that Python sets don't have this method. I would suggest the returned value be somewhat random to prevent repeated calls from returning repeated results. Perhaps a small C-level counter could control that, which can then roll over uneventfully if enough calls are made.
History
Date User Action Args
2010-05-27 01:25:10ipatrolsetrecipients: + ipatrol
2010-05-27 01:25:10ipatrolsetmessageid: <1274923510.24.0.670260490915.issue8830@psf.upfronthosting.co.za>
2010-05-27 01:25:08ipatrollinkissue8830 messages
2010-05-27 01:25:07ipatrolcreate