Message99111
[Antoine]
> >>> random.seed(int.from_bytes(b'foo', 'little'))
+1 for either documenting this useful trick, or modifying init_by_array to do this automatically for buffer-like objects.
Disallowing other types of input for the seed sounds dangerous, though. |
|
Date |
User |
Action |
Args |
2010-02-09 12:02:35 | mark.dickinson | set | recipients:
+ mark.dickinson, loewis, rhettinger, pitrou, michael.foord, terrence |
2010-02-09 12:02:35 | mark.dickinson | set | messageid: <1265716955.76.0.999991700093.issue7889@psf.upfronthosting.co.za> |
2010-02-09 12:02:32 | mark.dickinson | link | issue7889 messages |
2010-02-09 12:02:31 | mark.dickinson | create | |
|