<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/lib, branch v1.17.0rc2</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>Merge pull request #13993 from seberg/issue-13929-2</title>
<updated>2019-07-15T12:57:03+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-07-15T12:57:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=562405c74fe7cebf22d45cb0de77bb23e082fd63'/>
<id>562405c74fe7cebf22d45cb0de77bb23e082fd63</id>
<content type='text'>
DEP: Speed up WarnOnWrite deprecation in buffer interface</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DEP: Speed up WarnOnWrite deprecation in buffer interface</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Speed up WarnOnWrite deprecation in buffer interface</title>
<updated>2019-07-14T21:53:55+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2019-07-08T20:18:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c24e43c0eb4dd6f9e4bf12519000cb9f662a5425'/>
<id>c24e43c0eb4dd6f9e4bf12519000cb9f662a5425</id>
<content type='text'>
When a buffer interface does not request a writeable buffer,
simply pass a read-only one when the warn on write flag is set.

This is to give an easier way forward with avoiding the deprecation
warnings: Simply do not ask for a writeable buffer.

It will break code that expects writeable buffers but does not
ask for them specifically a bit harder than would be nice.
But since such code probably should ask for it specifically, this
is likely fine (an RC release has to find out).

The main reason for this is, that this way it plays very will with
cython, which requests writeable buffers explicitly and if declared
`const` is happy about read-only (so that using `const` is the best
way to avoid the warning and makes code cleaner).

Closes gh-13929, gh-13974
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a buffer interface does not request a writeable buffer,
simply pass a read-only one when the warn on write flag is set.

This is to give an easier way forward with avoiding the deprecation
warnings: Simply do not ask for a writeable buffer.

It will break code that expects writeable buffers but does not
ask for them specifically a bit harder than would be nice.
But since such code probably should ask for it specifically, this
is likely fine (an RC release has to find out).

The main reason for this is, that this way it plays very will with
cython, which requests writeable buffers explicitly and if declared
`const` is happy about read-only (so that using `const` is the best
way to avoid the warning and makes code cleaner).

Closes gh-13929, gh-13974
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: i0 Bessel function regression on array-likes supporting ufuncs</title>
<updated>2019-07-14T18:13:35+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2019-07-04T19:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=30ad399a307975903d38aff9c1d5098222a6cc60'/>
<id>30ad399a307975903d38aff9c1d5098222a6cc60</id>
<content type='text'>
For array likes supporting UFuncs, `np.abs` would return an array-like,
and this is currently not compatible with the use of `np.piecewise`.
The simplest fix seems to be to just call asanyarray (which piecewise
calls anyway on the array) beforehand. This way we ensure the conditions
are also an array.

Fixes gh-13894
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For array likes supporting UFuncs, `np.abs` would return an array-like,
and this is currently not compatible with the use of `np.piecewise`.
The simplest fix seems to be to just call asanyarray (which piecewise
calls anyway on the array) beforehand. This way we ensure the conditions
are also an array.

Fixes gh-13894
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Deprecate writeable broadcast_array (#12609)</title>
<updated>2019-06-29T01:27:42+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-06-29T01:27:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=59ebfbbe32bcac4a278c39a9a24b80a42d47a8f6'/>
<id>59ebfbbe32bcac4a278c39a9a24b80a42d47a8f6</id>
<content type='text'>
When the base is not an array (or generally when the flag of the base
array was toggled), it is OK to allow setting the writeable flag to
True, as long as any ancestor (especially the last one) is writeable.

This commit also slightly change the behaviour of the base attribute. 

---

* ENH: Deprecate writeable broadcast_array

* ENH: Make writeable flag enabling more reliable for non-array bases

When the base is not an array (or generally when the flag of the base
array was toggled), it is OK to allow setting the writeable flag to
True, as long as any ancestor (especially the last one) is writeable.

* Update doc/release/1.17.0-notes.rst

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* Update doc/release/1.17.0-notes.rst

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* Update numpy/lib/tests/test_stride_tricks.py

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* Update numpy/core/tests/test_multiarray.py

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* DOC: improve warning (from review)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the base is not an array (or generally when the flag of the base
array was toggled), it is OK to allow setting the writeable flag to
True, as long as any ancestor (especially the last one) is writeable.

This commit also slightly change the behaviour of the base attribute. 

---

* ENH: Deprecate writeable broadcast_array

* ENH: Make writeable flag enabling more reliable for non-array bases

When the base is not an array (or generally when the flag of the base
array was toggled), it is OK to allow setting the writeable flag to
True, as long as any ancestor (especially the last one) is writeable.

* Update doc/release/1.17.0-notes.rst

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* Update doc/release/1.17.0-notes.rst

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* Update numpy/lib/tests/test_stride_tricks.py

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* Update numpy/core/tests/test_multiarray.py

Co-Authored-By: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;

* DOC: improve warning (from review)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into force-zip64</title>
<updated>2019-06-26T17:43:36+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-06-26T17:43:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=df096f8386cb1478e117fc959c3c3c374fb1895b'/>
<id>df096f8386cb1478e117fc959c3c3c374fb1895b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: further fixup to histogram2d dispatcher.</title>
<updated>2019-06-21T00:39:02+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2019-06-20T20:48:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=22d5415f4e5e2e7009ccd86ac7915ba43a0b7d97'/>
<id>22d5415f4e5e2e7009ccd86ac7915ba43a0b7d97</id>
<content type='text'>
Now with tests....
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now with tests....
</pre>
</div>
</content>
</entry>
<entry>
<title>Update nanfunctions.py</title>
<updated>2019-06-15T01:02:38+00:00</updated>
<author>
<name>He Jia</name>
<email>he.jia.phy@gmail.com</email>
</author>
<published>2019-06-15T01:02:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=855a712f5bce3b3ca9f7fef41d93105fa2c22c86'/>
<id>855a712f5bce3b3ca9f7fef41d93105fa2c22c86</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update function_base.py</title>
<updated>2019-06-15T00:52:06+00:00</updated>
<author>
<name>He Jia</name>
<email>he.jia.phy@gmail.com</email>
</author>
<published>2019-06-15T00:52:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=35a6936f40e7e8fb4e7bbf809fa493e1f37ec85c'/>
<id>35a6936f40e7e8fb4e7bbf809fa493e1f37ec85c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13757 from shoyer/hist-dispatcher</title>
<updated>2019-06-14T15:07:14+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2019-06-14T15:07:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6630444dcaae705eb048135e0b1814971c86eaea'/>
<id>6630444dcaae705eb048135e0b1814971c86eaea</id>
<content type='text'>
MAINT: fix histogram*d dispatchers</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: fix histogram*d dispatchers</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: ensure i0 does not change the shape.</title>
<updated>2019-06-12T13:57:52+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2018-06-03T18:24:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=98b68bd97f636d56ceee36f2af0122c34ee2c64d'/>
<id>98b68bd97f636d56ceee36f2af0122c34ee2c64d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
