summaryrefslogtreecommitdiff
path: root/numpy/random/tests/test_seed_sequence.py
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Ensure SeedSequence 0-padding does not collide with spawn keysRobert Kern2020-06-091-1/+27
| | | | | | | | | | | | | Fixes #16539 The implicit 0-padding that is done to small entropy inputs to make them the size of the internal pool conflicts with the spawn keys, which start with an appended 0. In order to maintain stream compatibility with unspawned `SeedSequence`s, we explicitly 0-pad short inputs out to the pool size only if the spawn key is provided, and thus would trigger the bug. This should minimize the impact on users that were not encountering the bug.
* TEST, DOC: fixes from reviewmattip2019-10-171-1/+1
|
* API: move bit_generator and generator to be privatemattip2019-10-111-1/+1
|
* BUG: Ensure consistent interpretation of uint64 states. (#13861)Robert Kern2019-06-281-1/+15
| | | * BUG: test, fix for big-endian systems
* ENH: use SeedSequence to generate entropy for seedingmattip2019-06-261-0/+40