<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/testing, branch master</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: 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://91.123.203.49/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://91.123.203.49/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>
<entry>
<title>DOC: Avoid using "set of" when talking about an ordered list.</title>
<updated>2020-12-29T20:18:08+00:00</updated>
<author>
<name>Antony Lee</name>
<email>anntzer.lee@gmail.com</email>
</author>
<published>2020-12-29T17:53:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=f36e940a4726abb38c4929259e8eaf00d68c3d18'/>
<id>f36e940a4726abb38c4929259e8eaf00d68c3d18</id>
<content type='text'>
... or when the input isn't/cannot be a set.  I left a few usages, e.g.
in random sampling, where "set" is reasonable as informal description of
an array as the order doesn't matter; however, for e.g. np.gradient the
order of the returned list is clearly important, so "set" is wrong.

Also some other minor doc edits noticed during the grepping: using
`shape` instead of `form` in `cov` is consistent with most other places;
the wording in `Polynomial.trim` now matches other methods on the same
class.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... or when the input isn't/cannot be a set.  I left a few usages, e.g.
in random sampling, where "set" is reasonable as informal description of
an array as the order doesn't matter; however, for e.g. np.gradient the
order of the returned list is clearly important, so "set" is wrong.

Also some other minor doc edits noticed during the grepping: using
`shape` instead of `form` in `cov` is consistent with most other places;
the wording in `Polynomial.trim` now matches other methods on the same
class.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18051 from rpolley/deprecate-np-testing-dec-2</title>
<updated>2020-12-29T09:00:14+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2020-12-29T09:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=717df4e93234a1a290aa1b472b5c1c4e600009cd'/>
<id>717df4e93234a1a290aa1b472b5c1c4e600009cd</id>
<content type='text'>
DEP: deprecate np.testing.dec</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DEP: deprecate np.testing.dec</pre>
</div>
</content>
</entry>
<entry>
<title>TST: move np.testing.dec tests to test_deprecations.py</title>
<updated>2020-12-21T05:25:19+00:00</updated>
<author>
<name>Ryan Polley</name>
<email>rypolley@gmail.com</email>
</author>
<published>2020-12-21T05:25:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b05294c169438d4e230374f0e9677682d84c0094'/>
<id>b05294c169438d4e230374f0e9677682d84c0094</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DEC: update deprecation version to 1.21 and add date comments</title>
<updated>2020-12-21T03:06:04+00:00</updated>
<author>
<name>Ryan Polley</name>
<email>rypolley@gmail.com</email>
</author>
<published>2020-12-21T03:06:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=7fb6a0bf6064c5a06440ea188a281e2bb8c49e61'/>
<id>7fb6a0bf6064c5a06440ea188a281e2bb8c49e61</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DEC: deprecate the decorators in np.testing.dec</title>
<updated>2020-12-21T02:45:36+00:00</updated>
<author>
<name>Ryan Polley</name>
<email>rypolley@gmail.com</email>
</author>
<published>2020-12-21T02:45:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=f5579746f07a4f40d8b9391336fac0ee79659d22'/>
<id>f5579746f07a4f40d8b9391336fac0ee79659d22</id>
<content type='text'>
Since the decorators in np.testing.dec are intended for nose test framework
support, deprecate them by updating the docstring and adding a warning when
they are used on functions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the decorators in np.testing.dec are intended for nose test framework
support, deprecate them by updating the docstring and adding a warning when
they are used on functions
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Fix a couple of reference to verbatim and vice versa</title>
<updated>2020-12-19T04:49:36+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2020-12-14T01:08:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=09cbb7495b92a37ddfb5e7d1bc2e9964bc6a0609'/>
<id>09cbb7495b92a37ddfb5e7d1bc2e9964bc6a0609</id>
<content type='text'>
This update a coupe of references (single backticks) that actually are not to
verbatim/code (double backticks); and a couple of verbatim to reference
when they do actually exists and can be resolved in context.

I probably missed other; and stayed simple but spoted a few other
inconsistencies that I did not fix:

  - some ``...`` could actually be :math:`...` but not always clear if
  it would be better.
  - some intervals are [``...``], other are ``[...]``

I guess they could be discussed individually; it was mostly the failing
references that bothered me.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This update a coupe of references (single backticks) that actually are not to
verbatim/code (double backticks); and a couple of verbatim to reference
when they do actually exists and can be resolved in context.

I probably missed other; and stayed simple but spoted a few other
inconsistencies that I did not fix:

  - some ``...`` could actually be :math:`...` but not always clear if
  it would be better.
  - some intervals are [``...``], other are ``[...]``

I guess they could be discussed individually; it was mostly the failing
references that bothered me.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix AttributeError: 'bool' object has no attribute 'ndim'</title>
<updated>2020-12-03T20:35:40+00:00</updated>
<author>
<name>Christoph Gohlke</name>
<email>cgohlke@uci.edu</email>
</author>
<published>2020-12-03T20:35:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=bd7609c2aa11de9f46d084e607ae42d1bbe17797'/>
<id>bd7609c2aa11de9f46d084e607ae42d1bbe17797</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Rewrite can-cast logic in terms of NEP 42</title>
<updated>2020-11-25T03:25:02+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-11-05T00:44:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=3cfcd221818b489712b8cfe1082743a1056b42ec'/>
<id>3cfcd221818b489712b8cfe1082743a1056b42ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
