<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/core/tests, branch meson</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>API: Add new exceptions module and move exception exposed via numeric</title>
<updated>2022-11-30T11:07:51+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-11-18T13:50:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b0f318b38e7dd305c3ca93e6c912e1391dda999e'/>
<id>b0f318b38e7dd305c3ca93e6c912e1391dda999e</id>
<content type='text'>
This means moving ComplexWarning, TooHardError, and AxisError.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means moving ComplexWarning, TooHardError, and AxisError.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #22619 from seberg/move-set_module</title>
<updated>2022-11-29T21:33:27+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2022-11-29T21:33:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b0b7a066c393a1d7cc69e9a6db7c7c7a3602b293'/>
<id>b0b7a066c393a1d7cc69e9a6db7c7c7a3602b293</id>
<content type='text'>
MAINT: Move set_module from numpy.core to numpy._utils</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: Move set_module from numpy.core to numpy._utils</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Slightly improve error when gufunc axes has wrong size (#22675)</title>
<updated>2022-11-28T16:43:13+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2022-11-28T16:43:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4dc5321a3d8d308808a200a3bf621651a5e67f5a'/>
<id>4dc5321a3d8d308808a200a3bf621651a5e67f5a</id>
<content type='text'>
* DOC: Slightly improve error when gufunc axes has wrong size

My hope was to tweak it into something useful that:

    a @= b

can raise when `b` should have two dimensions and has two axes specified
but actually only has one.
I didn't succeed, but I still think it a slight improvement to give the
ufunc name and the actual core dimensions.

* ENH: Use AxisError when gufunc axes appear wrong due to the number of entries

This allows catching the error relatively targeted for in-place matmul `a @= b`
which may use this path.

* MAINT: Restore most TypeErrors (a bit more compexl than nice, but...)

* DOC: add a release note

Co-authored-by: mattip &lt;matti.picus@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* DOC: Slightly improve error when gufunc axes has wrong size

My hope was to tweak it into something useful that:

    a @= b

can raise when `b` should have two dimensions and has two axes specified
but actually only has one.
I didn't succeed, but I still think it a slight improvement to give the
ufunc name and the actual core dimensions.

* ENH: Use AxisError when gufunc axes appear wrong due to the number of entries

This allows catching the error relatively targeted for in-place matmul `a @= b`
which may use this path.

* MAINT: Restore most TypeErrors (a bit more compexl than nice, but...)

* DOC: add a release note

Co-authored-by: mattip &lt;matti.picus@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Update numpy/core/tests/test_dtype.py</title>
<updated>2022-11-27T17:42:05+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2022-11-27T17:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6b606389b2747a455ba8c23bdc3ed6b1ed8c000b'/>
<id>6b606389b2747a455ba8c23bdc3ed6b1ed8c000b</id>
<content type='text'>
Co-authored-by: Matti Picus &lt;matti.picus@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Matti Picus &lt;matti.picus@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Ensure string aliases `"int0"`, etc. remain valid for now</title>
<updated>2022-11-25T15:58:13+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-11-25T15:38:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=71a924ee7f71f1ea14af3aee0a6be29353a996d4'/>
<id>71a924ee7f71f1ea14af3aee0a6be29353a996d4</id>
<content type='text'>
int0 and uint0 were accidentally dropped, the others just added as
a test.
We did successfully remove many Numeric types before, so these could
probably be deprecated (it is a bit more annoying to do).

These could probably just be removed, scikit-learn only noticed it in
a single test (scipy probably not at all).  But maybe not in 1.24
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
int0 and uint0 were accidentally dropped, the others just added as
a test.
We did successfully remove many Numeric types before, so these could
probably be deprecated (it is a bit more annoying to do).

These could probably just be removed, scikit-learn only noticed it in
a single test (scipy probably not at all).  But maybe not in 1.24
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move _inspect and _pep440 from compat to _utils</title>
<updated>2022-11-25T13:02:33+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-11-25T12:43:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dab75729662b1335d714a3b5f500ee7f2914a21d'/>
<id>dab75729662b1335d714a3b5f500ee7f2914a21d</id>
<content type='text'>
Note that unfortunately, compat does expose _inspect as well,
so the import remains (just the definition place moves).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that unfortunately, compat does expose _inspect as well,
so the import remains (just the definition place moves).
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #22638 from seberg/machar-depr</title>
<updated>2022-11-22T18:10:49+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2022-11-22T18:10:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=02441cb091a7939d175b3df7db263a3922826965'/>
<id>02441cb091a7939d175b3df7db263a3922826965</id>
<content type='text'>
DEP: Finalize MachAr and machar deprecations</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DEP: Finalize MachAr and machar deprecations</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Finalize MachAr and machar deprecations</title>
<updated>2022-11-22T16:38:33+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-11-21T10:27:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8b9b0efbc08a502627f455ec59656fce68eb10d7'/>
<id>8b9b0efbc08a502627f455ec59656fce68eb10d7</id>
<content type='text'>
This removes the attributes on finfo and the "public" module.  It also
deprecates `np.core.MachAr`.  We should be able to get away with just
deleting it, but there seems little reason to not just deprecate it for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the attributes on finfo and the "public" module.  It also
deprecates `np.core.MachAr`.  We should be able to get away with just
deleting it, but there seems little reason to not just deprecate it for now.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: raise TypeError when arange() is called with string dtype (#22087)</title>
<updated>2022-11-21T22:17:52+00:00</updated>
<author>
<name>Daniel da Silva</name>
<email>ddasilva@users.noreply.github.com</email>
</author>
<published>2022-11-21T22:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=04d0e2155704ad939980a4eafefe3d817076fa39'/>
<id>04d0e2155704ad939980a4eafefe3d817076fa39</id>
<content type='text'>
* ENH: raise TypeError when arange() is called with string dtype

* Add release note for dtype=str change to arange()

* DOC: Minor wording/formatting touchups to release note.

* Update numpy/core/tests/test_multiarray.py

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;

* Move check to PyArray_ArangeObj

* remove old code

* BUG,MAINT: Clean out arange string error and other paths

* BUGS: Fixup and cleanup arange code a bit

* DOC: Update release note to new message

* BUG: Fix refcounting and simplify arange

* MAINT: Use SETREF to make arange dtype discovery more compact

* MAINT: Update numpy/core/src/multiarray/ctors.c

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;
Co-authored-by: Sebastian Berg &lt;sebastianb@nvidia.com&gt;
Co-authored-by: Charles Harris &lt;charlesr.harris@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ENH: raise TypeError when arange() is called with string dtype

* Add release note for dtype=str change to arange()

* DOC: Minor wording/formatting touchups to release note.

* Update numpy/core/tests/test_multiarray.py

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;

* Move check to PyArray_ArangeObj

* remove old code

* BUG,MAINT: Clean out arange string error and other paths

* BUGS: Fixup and cleanup arange code a bit

* DOC: Update release note to new message

* BUG: Fix refcounting and simplify arange

* MAINT: Use SETREF to make arange dtype discovery more compact

* MAINT: Update numpy/core/src/multiarray/ctors.c

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;
Co-authored-by: Sebastian Berg &lt;sebastianb@nvidia.com&gt;
Co-authored-by: Charles Harris &lt;charlesr.harris@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #22316 from seberg/void-strctured-new</title>
<updated>2022-11-21T16:53:38+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2022-11-21T16:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=5d32b8d63ab9a376c095f142b86bb55cdfbb95ff'/>
<id>5d32b8d63ab9a376c095f142b86bb55cdfbb95ff</id>
<content type='text'>
ENH: Allow creating structured void scalars by passing dtype</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENH: Allow creating structured void scalars by passing dtype</pre>
</div>
</content>
</entry>
</feed>
