<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy, branch v1.18.4</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>Fix other comments from Ross and make it ImportError specific</title>
<updated>2020-05-01T19:03:33+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-04-28T20:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c369fab0c030ade8cfe0d180b796b9591831e5d8'/>
<id>c369fab0c030ade8cfe0d180b796b9591831e5d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply suggestions from code review</title>
<updated>2020-05-01T19:03:33+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-04-28T20:29:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c65fbd2b4cae5e90bd53041a12ec3ba089af81ec'/>
<id>c65fbd2b4cae5e90bd53041a12ec3ba089af81ec</id>
<content type='text'>
Co-Authored-By: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Authored-By: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Change import error "howto" to link to troubleshooting docs</title>
<updated>2020-05-01T19:03:33+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-04-18T21:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8131c2e5efcd8168976235aeba31e6514c230941'/>
<id>8131c2e5efcd8168976235aeba31e6514c230941</id>
<content type='text'>
This makes the C-API failed to load import error link to a new
troubleshooting document in the user documentation. It links
to the devdocs directly, since it should be possible to update the
information at any time (e.g. when a new setup starts making issues).
As these are not NumPy issues, their occurance is not tied to the
NumPy release process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the C-API failed to load import error link to a new
troubleshooting document in the user documentation. It links
to the devdocs directly, since it should be possible to update the
information at any time (e.g. when a new setup starts making issues).
As these are not NumPy issues, their occurance is not tied to the
NumPy release process.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #16109 from seberg/revert-accidental-bool-fix</title>
<updated>2020-04-30T15:15:04+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-04-30T15:15:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6586541a45a7c88ef6623696a1fd27a6041cbfc1'/>
<id>6586541a45a7c88ef6623696a1fd27a6041cbfc1</id>
<content type='text'>
REV: Reverts side-effect changes to casting</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
REV: Reverts side-effect changes to casting</pre>
</div>
</content>
</entry>
<entry>
<title>REV: Reverts side-effect changes to casting</title>
<updated>2020-04-29T19:11:35+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-04-29T18:48:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f6cdbfa1fcd65d9a24fc802090181e6c1199a9fa'/>
<id>f6cdbfa1fcd65d9a24fc802090181e6c1199a9fa</id>
<content type='text'>
This mostly reverts commit 6b954aa47bcce17cd7497d41f818950f847fbd8e
to ensure only the longdouble floating point numbers are changed, for
which this was a bugfix was relevant.
All other numbers should be unchanged (and were faster with the change),
but revert since this is a bugfix release.

Mainly the string-&gt;boolean conversions where accidentally changed to
arguably more correct behaviour. But this should not have happend
accidentally, especially in a bug-fix branch.
Another corner case change is that string-&gt;datetime casts within
hypothetical C-extensions doing manual C-level casting was fixed to be in
line with normal string -&gt; datetime casts (the cast was inconsistently
defined).

This revert is only applied as a backport. The second change will remain
included in the next non-bugfix release while the first is fixed in
a more specific in cleaner manner.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This mostly reverts commit 6b954aa47bcce17cd7497d41f818950f847fbd8e
to ensure only the longdouble floating point numbers are changed, for
which this was a bugfix was relevant.
All other numbers should be unchanged (and were faster with the change),
but revert since this is a bugfix release.

Mainly the string-&gt;boolean conversions where accidentally changed to
arguably more correct behaviour. But this should not have happend
accidentally, especially in a bug-fix branch.
Another corner case change is that string-&gt;datetime casts within
hypothetical C-extensions doing manual C-level casting was fixed to be in
line with normal string -&gt; datetime casts (the cast was inconsistently
defined).

This revert is only applied as a backport. The second change will remain
included in the next non-bugfix release while the first is fixed in
a more specific in cleaner manner.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: random: Skip a test if integers are 32 bit.</title>
<updated>2020-04-27T22:29:14+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2020-04-27T17:48:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=794ea8a8e776afbc0b26acd448487bd6d8537c08'/>
<id>794ea8a8e776afbc0b26acd448487bd6d8537c08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: random: Add more repeatability tests for random integers.</title>
<updated>2020-04-27T22:29:14+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2020-04-27T17:06:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1e9a02214e74064630848be4f4e09d6451085558'/>
<id>1e9a02214e74064630848be4f4e09d6451085558</id>
<content type='text'>
Add repeatability tests for when the range of the integers is `2**32`
(and `2**32 +/- 1` for good measure) with broadcasting.  The underlying
functions called by Generator.integers and random.randint when the
inputs are broadcast are different than when the inputs are scalars.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add repeatability tests for when the range of the integers is `2**32`
(and `2**32 +/- 1` for good measure) with broadcasting.  The underlying
functions called by Generator.integers and random.randint when the
inputs are broadcast are different than when the inputs are scalars.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: random: Add assert() statements.</title>
<updated>2020-04-27T22:29:14+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2020-04-26T20:54:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=04415a07bfa0c13bf660f1913c9b19160d82637e'/>
<id>04415a07bfa0c13bf660f1913c9b19160d82637e</id>
<content type='text'>
Assert that an invalid value (2**n-1 for n = 8, 16, 32, 64) has not
been passed to the Lemire function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Assert that an invalid value (2**n-1 for n = 8, 16, 32, 64) has not
been passed to the Lemire function.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: random: Generator.integers(2**32) always returned 0.</title>
<updated>2020-04-27T22:29:14+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2020-04-25T16:28:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=23d70219d32f0f6260570db13fc8c8fcaab20a86'/>
<id>23d70219d32f0f6260570db13fc8c8fcaab20a86</id>
<content type='text'>
When the input to Generator.integers was 2**32, the value 2**32-1
was being passed as the `rng` argument to the 32-bit Lemire method,
but that method requires `rng` be strictly less then 2**32-1.

The fix was to handle 2**32-1 by calling next_uint32 directly.
This also works for the legacy code without changing the stream
of random integers from `randint`.

Closes gh-16066.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the input to Generator.integers was 2**32, the value 2**32-1
was being passed as the `rng` argument to the 32-bit Lemire method,
but that method requires `rng` be strictly less then 2**32-1.

The fix was to handle 2**32-1 by calling next_uint32 directly.
This also works for the legacy code without changing the stream
of random integers from `randint`.

Closes gh-16066.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #16017 from charris/backport-15951</title>
<updated>2020-04-19T14:21:11+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-04-19T14:21:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c0b6896901354968927af2435252e926e8e5a67d'/>
<id>c0b6896901354968927af2435252e926e8e5a67d</id>
<content type='text'>
BUG: Alpha parameter must be 1D in `generator.dirichlet`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: Alpha parameter must be 1D in `generator.dirichlet`</pre>
</div>
</content>
</entry>
</feed>
