<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/core/tests, branch issue_20025</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>TST, SIMD: Enhance the test case for SIMD integer division by adding several data ranges</title>
<updated>2021-10-23T06:13:37+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2021-10-23T05:55:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=437a249250248b2cbf7acd8a2a0f836e3b98a547'/>
<id>437a249250248b2cbf7acd8a2a0f836e3b98a547</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: core: Fix incorrect check of NpyIter_Deallocate return value.</title>
<updated>2021-10-19T16:50:17+00:00</updated>
<author>
<name>warren</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2021-10-19T15:44:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=8e3f1ac0d4b44750f9c83ff74ed7f29dc6182196'/>
<id>8e3f1ac0d4b44750f9c83ff74ed7f29dc6182196</id>
<content type='text'>
NpyIter_Deallocate returns 0 for failure and 1 for success,
so the check `NpyIter_Deallocate(iter) &lt; 0` is not correct.

(See relevant comments in gh-20069.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NpyIter_Deallocate returns 0 for failure and 1 for success,
so the check `NpyIter_Deallocate(iter) &lt; 0` is not correct.

(See relevant comments in gh-20069.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18905 from seberg/ufunc-refactor-2021</title>
<updated>2021-10-19T14:48:35+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2021-10-19T14:48:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=405c6eec7937721bd2e284dceaf4f49d5e6e39e8'/>
<id>405c6eec7937721bd2e284dceaf4f49d5e6e39e8</id>
<content type='text'>
MAINT: Refactor reductions to use NEP 43 style dispatching/promotion</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: Refactor reductions to use NEP 43 style dispatching/promotion</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add a test covering logical ufuncs for custom DTypes</title>
<updated>2021-10-12T00:32:35+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-09-07T22:40:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=27f3b03dcc4fa2570825f9233f2e593c3c320673'/>
<id>27f3b03dcc4fa2570825f9233f2e593c3c320673</id>
<content type='text'>
In particular, this covers a casting error that currently cannot
be hit for normal ufuncs, because they already check casting during
the legacy dtype resolution (which is called first).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In particular, this covers a casting error that currently cannot
be hit for normal ufuncs, because they already check casting during
the legacy dtype resolution (which is called first).
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Fixups and new tests based on Marten's reviews</title>
<updated>2021-10-12T00:32:35+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-09-07T21:20:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=13cd98abdf77c7c181da9f883d54a274100a03c8'/>
<id>13cd98abdf77c7c181da9f883d54a274100a03c8</id>
<content type='text'>
More fixups are coming, the biggest change is that the error message
is now improved when a reduction makes no sense such as
`np.subtract.reduce(np.array([1, 2, 3], dtype="M8[s]"))`
where input and output cannot have the same descriptor.

(Some more fixups still to go)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More fixups are coming, the biggest change is that the error message
is now improved when a reduction makes no sense such as
`np.subtract.reduce(np.array([1, 2, 3], dtype="M8[s]"))`
where input and output cannot have the same descriptor.

(Some more fixups still to go)
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add test for reduceat/accumulate output shape mismatch</title>
<updated>2021-10-12T00:32:35+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-08-10T19:10:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=2aeaa44c454d90e6efa140f539bcfbe5a9ca0a77'/>
<id>2aeaa44c454d90e6efa140f539bcfbe5a9ca0a77</id>
<content type='text'>
At least the reduceat path seems to have been untested before.
The slight change in code layout (added assert) is just to make
the code slightly easier to read.  Since otherwise it looks like
there is an additional `else` branch when `out` is given.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At least the reduceat path seems to have been untested before.
The slight change in code layout (added assert) is just to make
the code slightly easier to read.  Since otherwise it looks like
there is an additional `else` branch when `out` is given.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add test for ufunc out-cast failure when input cast is ignored</title>
<updated>2021-10-12T00:32:34+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-08-09T21:59:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=3ce020dd1465b055555b957b30115912def68e3f'/>
<id>3ce020dd1465b055555b957b30115912def68e3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add additional reduceat/accumulate tests</title>
<updated>2021-10-12T00:32:34+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-08-09T21:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=a8262a5a87835fcb8b64334334b3eca93a2ab8d5'/>
<id>a8262a5a87835fcb8b64334334b3eca93a2ab8d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add test for rare reduce dtype mismatch error path</title>
<updated>2021-10-12T00:32:34+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-08-09T21:17:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=1f27ae7779cfb93cf88052775c422f1b1ea7cc34'/>
<id>1f27ae7779cfb93cf88052775c422f1b1ea7cc34</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Refactor reductions to use NEP 43 style dispatching/promotion</title>
<updated>2021-10-12T00:32:34+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-05-14T22:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=e9753fd770aec5248c180c85b6ec79b734feb812'/>
<id>e9753fd770aec5248c180c85b6ec79b734feb812</id>
<content type='text'>
This also implements new promoters for the logical functions.
The reasoning is that any logical function can always be handled
by first casting to boolean without changing the meaning.
This is true (unless the output is object), and already effectively
used for `np.all`/`np.any`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also implements new promoters for the logical functions.
The reasoning is that any logical function can always be handled
by first casting to boolean without changing the meaning.
This is true (unless the output is object), and already effectively
used for `np.all`/`np.any`.
</pre>
</div>
</content>
</entry>
</feed>
