Message192747
The random module has no method to obvious way to select k elements from a sequence without enforcing unique values in the result set. It's a rather useful feature for salts, randomly generated passwords and other applications. See #18405
The patch implements random.choices(seq, k) -> list |
|
Date |
User |
Action |
Args |
2013-07-09 13:11:25 | christian.heimes | set | recipients:
+ christian.heimes, rhettinger, mark.dickinson |
2013-07-09 13:11:25 | christian.heimes | set | messageid: <1373375485.67.0.76143166278.issue18414@psf.upfronthosting.co.za> |
2013-07-09 13:11:25 | christian.heimes | link | issue18414 messages |
2013-07-09 13:11:25 | christian.heimes | create | |
|