Message106590
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. |
|
Date |
User |
Action |
Args |
2010-05-27 01:25:10 | ipatrol | set | recipients:
+ ipatrol |
2010-05-27 01:25:10 | ipatrol | set | messageid: <1274923510.24.0.670260490915.issue8830@psf.upfronthosting.co.za> |
2010-05-27 01:25:08 | ipatrol | link | issue8830 messages |
2010-05-27 01:25:07 | ipatrol | create | |
|