Message175848
Patch updated to conform with Mark's nitpicks.
What I really doubt is that now same integer seed on little-endian and big-endian give different random sequences. Is this important? If yes, I can add bytes-swapping. On other hand, non-integer seed already give platform-depending results (the hashing used).
What you think about using a buffer instead a hash for bytes and bytearrays (and all other seeds supported buffer protocol)? It can increase entropy. Of course, it should be another issue if you approve it. |
|
Date |
User |
Action |
Args |
2012-11-18 09:00:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, rhettinger, mark.dickinson |
2012-11-18 09:00:10 | serhiy.storchaka | set | messageid: <1353229210.9.0.00574113449765.issue16496@psf.upfronthosting.co.za> |
2012-11-18 09:00:10 | serhiy.storchaka | link | issue16496 messages |
2012-11-18 09:00:10 | serhiy.storchaka | create | |
|