<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random, branch fix/seed-sequence-zeros</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/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://91.123.203.49/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>Merge pull request #16504 from bashtage/doc-mv-norm</title>
<updated>2020-06-08T21:17:55+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-06-08T21:17:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=f1c4ba3e97cbf5c494f29531b35da6144cac5aec'/>
<id>f1c4ba3e97cbf5c494f29531b35da6144cac5aec</id>
<content type='text'>
DOC: Correct MV Normal sig</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DOC: Correct MV Normal sig</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #16510 from madphysicist/patch-1</title>
<updated>2020-06-08T13:39:54+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-06-08T13:39:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=ee60cc9164e5a20b98ee6722e25b0df41e411675'/>
<id>ee60cc9164e5a20b98ee6722e25b0df41e411675</id>
<content type='text'>
DOC: Minor rounding correction in Generator.binomial</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DOC: Minor rounding correction in Generator.binomial</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix cython warning in random/_common.pyx.</title>
<updated>2020-06-08T01:54:05+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-06-08T01:54:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=7d9866415e460959bf9b6c2cd8fd76911b4d23fe'/>
<id>7d9866415e460959bf9b6c2cd8fd76911b4d23fe</id>
<content type='text'>
Fix for #16508. Cython wants every pointer declaration to be on a
separate line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix for #16508. Cython wants every pointer declaration to be on a
separate line.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Minor rounding correction in Generator.binomial</title>
<updated>2020-06-06T07:35:59+00:00</updated>
<author>
<name>Joseph Fox-Rabinovitz</name>
<email>madphysicist@users.noreply.github.com</email>
</author>
<published>2020-06-06T07:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=47fc2bfb95c08ad842263c5f56e0caf59ab6918d'/>
<id>47fc2bfb95c08ad842263c5f56e0caf59ab6918d</id>
<content type='text'>
Changed 38.88 from  38 to 39</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed 38.88 from  38 to 39</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Correct MV Normal sig</title>
<updated>2020-06-05T14:43:14+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2020-06-05T13:11:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b5f873304f4457e33f92d3b3498ae5d8ebf00714'/>
<id>b5f873304f4457e33f92d3b3498ae5d8ebf00714</id>
<content type='text'>
Add new kw arg to sig
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new kw arg to sig
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Correct broadcasting when size is not None</title>
<updated>2020-06-05T10:49:00+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2020-06-05T10:14:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=776189a168f12c8da385a48ab1c381133908fa73'/>
<id>776189a168f12c8da385a48ab1c381133908fa73</id>
<content type='text'>
Broadcastable size with inputs does not produce an error when size produces
a smaller output array than the broadcast input shape. Patch checks that
the output shape matches the outer shape of the broadcast fo all inputs and
the size when given.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Broadcastable size with inputs does not produce an error when size produces
a smaller output array than the broadcast input shape. Patch checks that
the output shape matches the outer shape of the broadcast fo all inputs and
the size when given.
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Deprecate passing shape=None to mean shape=()</title>
<updated>2020-05-31T16:24:38+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-03-31T16:02:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=5443f6d35257b5e577ae4cabba4de6cc526ac005'/>
<id>5443f6d35257b5e577ae4cabba4de6cc526ac005</id>
<content type='text'>
This requires some minor tweaks in `np.random` because there the two have different meanings, with `()` meaning 0d array and `None` meaning scalar.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This requires some minor tweaks in `np.random` because there the two have different meanings, with `()` meaning 0d array and `None` meaning scalar.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: precompute log(2.0 * M_PI) in `random_loggam' (gh-16237)</title>
<updated>2020-05-19T13:39:37+00:00</updated>
<author>
<name>Elia Franzella</name>
<email>eliafranzella@live.it</email>
</author>
<published>2020-05-19T13:39:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=d329a66dbb9710aefd03cce6a8b0f46da51490ca'/>
<id>d329a66dbb9710aefd03cce6a8b0f46da51490ca</id>
<content type='text'>
Most compilers should optimize it, but it doesn't hurt to inline and has a better name
now.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most compilers should optimize it, but it doesn't hurt to inline and has a better name
now.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #16156 from WarrenWeckesser/deprecate-dual</title>
<updated>2020-05-19T13:18:54+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-05-19T13:18:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=8ab709c26db9d10fb9365c8faf05b395822482c0'/>
<id>8ab709c26db9d10fb9365c8faf05b395822482c0</id>
<content type='text'>
DEP: Deprecate `numpy.dual`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DEP: Deprecate `numpy.dual`.</pre>
</div>
</content>
</entry>
</feed>
