<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/testing, branch v1.21.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>MAINT: Add placeholder annotations for two missing `np.testing` objects</title>
<updated>2021-05-05T21:41:36+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2021-05-05T21:41:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6a680f8a49ce8a23c55f9580e21977f44aba6224'/>
<id>6a680f8a49ce8a23c55f9580e21977f44aba6224</id>
<content type='text'>
Adds placeholders for two `np.testing` objects previously missed in https://github.com/numpy/numpy/pull/18842.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds placeholders for two `np.testing` objects previously missed in https://github.com/numpy/numpy/pull/18842.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add improved placeholder annotations for `np.testing`</title>
<updated>2021-04-23T12:26:00+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2021-04-23T12:21:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4f1390e9d31edda13890e230d23dc1651310050a'/>
<id>4f1390e9d31edda13890e230d23dc1651310050a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Use: from numpy.testing import ...</title>
<updated>2021-04-13T21:54:54+00:00</updated>
<author>
<name>Tim Hoffmann</name>
<email>2836374+timhoffm@users.noreply.github.com</email>
</author>
<published>2021-04-13T21:54:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=80e4bf97bc54a70870b0f7e02101f0d6bef4147c'/>
<id>80e4bf97bc54a70870b0f7e02101f0d6bef4147c</id>
<content type='text'>
instead of `import numpy.testing as npt`.

- all of NumPy's own tests themselves use the from-import variant
- There's `import numpy.typing as npt` around in some places so
  we should not abbreviate another module import with `npt`.

Optional further enhancement: If this is a convention we also want
users to adopt, this should be mentioned in the module docstring of
`numpy.testing`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of `import numpy.testing as npt`.

- all of NumPy's own tests themselves use the from-import variant
- There's `import numpy.typing as npt` around in some places so
  we should not abbreviate another module import with `npt`.

Optional further enhancement: If this is a convention we also want
users to adopt, this should be mentioned in the module docstring of
`numpy.testing`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18579 from mwtoews/refactor-dict</title>
<updated>2021-03-21T09:39:18+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2021-03-21T09:39:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=28ff24e264ec0e264c69e944a2c0aa48af9d27fa'/>
<id>28ff24e264ec0e264c69e944a2c0aa48af9d27fa</id>
<content type='text'>
MAINT: OrderedDict is no longer necessary from Python 3.7</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: OrderedDict is no longer necessary from Python 3.7</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18642 from seberg/splitup-faster-argparsing-optimize-asarray</title>
<updated>2021-03-21T05:48:10+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2021-03-21T05:48:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9e47444aa66ae055c3ef5a01d579d2eb52606f20'/>
<id>9e47444aa66ae055c3ef5a01d579d2eb52606f20</id>
<content type='text'>
ENH: Use new argument parsing for array creation functions</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENH: Use new argument parsing for array creation functions</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: use super() as described by PEP 3135</title>
<updated>2021-03-19T09:14:30+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2021-03-19T09:03:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c1aa1af62f6e9fcdda92d6d0991b15051a565814'/>
<id>c1aa1af62f6e9fcdda92d6d0991b15051a565814</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Use new argument parsing for array creation functions</title>
<updated>2021-03-18T20:37:20+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-12-06T04:38:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f531110689a646f574ad1529d78b6047cf397f3e'/>
<id>f531110689a646f574ad1529d78b6047cf397f3e</id>
<content type='text'>
The array creation functions have the most to gain:

1. np.asarray is 4 times faster and commonly used.
2. Other functions are wrapped using __array_function__ in Python
   making it more difficult

This commit (unfortunatly) has to do a few things:

* Modify __array_function__ C-side dispatching to accomodate
  the fastcall argument convention.
* Move asarray, etc. to C after removing all "fast paths" from
  np.array (simplifying the code)
* Fixup imports, since asarray was imported directly in a few places
* Replace some places where `np.array` was probably used for speed
  instead of np.asarray or similar. (or by accident in 1 or 2 places)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The array creation functions have the most to gain:

1. np.asarray is 4 times faster and commonly used.
2. Other functions are wrapped using __array_function__ in Python
   making it more difficult

This commit (unfortunatly) has to do a few things:

* Modify __array_function__ C-side dispatching to accomodate
  the fastcall argument convention.
* Move asarray, etc. to C after removing all "fast paths" from
  np.array (simplifying the code)
* Fixup imports, since asarray was imported directly in a few places
* Replace some places where `np.array` was probably used for speed
  instead of np.asarray or similar. (or by accident in 1 or 2 places)
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: OrderedDict is no longer necessary from Python 3.7</title>
<updated>2021-03-08T09:25:15+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2021-03-08T09:25:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8045d1c79bd0615c8760d2423976196a1ca32d65'/>
<id>8045d1c79bd0615c8760d2423976196a1ca32d65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Allow unmodified use of isclose, allclose, etc. with timedelta</title>
<updated>2021-02-04T20:35:12+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-02-04T20:16:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=bcb168a56d1c47b877568ce51ce90a1ced89f007'/>
<id>bcb168a56d1c47b877568ce51ce90a1ced89f007</id>
<content type='text'>
Disallowing timedelta64+float promotion (to timedelta64) in all cases
(previously it was assymetric and "half allowed") meant that isclose,
allclose, np.ma.allclose, and assert_arrays_almost_equal (which uses
isclose), would stop work for timedelta64. Hardcoding that timedelta64
is passed on unmodified retains the old behaviour.

It may make sense to deprecate or change this behaviour in the future,
but for the 1.20 release, the behaviour should be as much unmodified
as possible.

Closes gh-18286
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disallowing timedelta64+float promotion (to timedelta64) in all cases
(previously it was assymetric and "half allowed") meant that isclose,
allclose, np.ma.allclose, and assert_arrays_almost_equal (which uses
isclose), would stop work for timedelta64. Hardcoding that timedelta64
is passed on unmodified retains the old behaviour.

It may make sense to deprecate or change this behaviour in the future,
but for the 1.20 release, the behaviour should be as much unmodified
as possible.

Closes gh-18286
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Add missing `__all__` annotations</title>
<updated>2021-02-01T17:16:43+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2021-02-01T15:21:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=12d99670040c265a615694fd3b8ae1492807c93f'/>
<id>12d99670040c265a615694fd3b8ae1492807c93f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
