Message192747
| Author |
christian.heimes |
| Recipients |
christian.heimes, mark.dickinson, rhettinger |
| Date |
2013年07月09日.13:11:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1373375485.67.0.76143166278.issue18414@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|