<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random/tests/test_seed_sequence.py, branch dependabot/pip/gitpython-3.1.14</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>BUG: Ensure SeedSequence 0-padding does not collide with spawn keys</title>
<updated>2020-06-09T15:58:49+00:00</updated>
<author>
<name>Robert Kern</name>
<email>robert.kern@gmail.com</email>
</author>
<published>2020-06-09T15:58:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7a82f14075eaf8f59ea3bb2594b71639e938611e'/>
<id>7a82f14075eaf8f59ea3bb2594b71639e938611e</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>TEST, DOC: fixes from review</title>
<updated>2019-10-17T05:57:59+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-10-17T05:57:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=09708c976876ee6fa58c615df277b47264bcdc26'/>
<id>09708c976876ee6fa58c615df277b47264bcdc26</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>API: move bit_generator and generator to be private</title>
<updated>2019-10-11T12:08:46+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-10-02T19:26:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=260bf67640724915ffefd0a5a7133318ece149da'/>
<id>260bf67640724915ffefd0a5a7133318ece149da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Ensure consistent interpretation of uint64 states. (#13861)</title>
<updated>2019-06-29T00:30:33+00:00</updated>
<author>
<name>Robert Kern</name>
<email>robert.kern@gmail.com</email>
</author>
<published>2019-06-29T00:30:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e7383b5d5dff636ed92667a28751ce18f7086097'/>
<id>e7383b5d5dff636ed92667a28751ce18f7086097</id>
<content type='text'>
* BUG: test, fix for big-endian systems</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* BUG: test, fix for big-endian systems</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: use SeedSequence to generate entropy for seeding</title>
<updated>2019-06-25T22:13:48+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-06-25T21:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=efa35e738027dc833c0d02c8b15f41c9cf547749'/>
<id>efa35e738027dc833c0d02c8b15f41c9cf547749</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
