<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/doc/release, branch dependabot/pip/gitpython-3.1.14</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: make piecewise subclass safe using use zeros_like.</title>
<updated>2021-02-22T15:37:32+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2021-01-03T16:11:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=aeae93b6c0042f6ed8f45205545985cc194f84f3'/>
<id>aeae93b6c0042f6ed8f45205545985cc194f84f3</id>
<content type='text'>
Subclass input of piecewise was already respected, so it seems more
logical to ensure the output is the same subclass (possibly just an
oversight that it was not done before).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Subclass input of piecewise was already respected, so it seems more
logical to ensure the output is the same subclass (possibly just an
oversight that it was not done before).
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix unique handling of nan entries. (#18070)</title>
<updated>2021-02-12T16:47:55+00:00</updated>
<author>
<name>Filip Trojan</name>
<email>f.trojan@centrum.cz</email>
</author>
<published>2021-02-12T16:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7dcd29aaafe1ab8be4be04d3c793e5bcaf17459f'/>
<id>7dcd29aaafe1ab8be4be04d3c793e5bcaf17459f</id>
<content type='text'>
* benchmark bench_lib.Unique added

* extended test_unique_1d

* modify _unique1d

* extend test with return_index, return_inverse and return_counts parameters

* documentation updated

* Update numpy/lib/arraysetops.py

Co-authored-by: Bas van Beek &lt;43369155+BvB93@users.noreply.github.com&gt;

* full coverage of nan types

Co-authored-by: Bas van Beek &lt;43369155+BvB93@users.noreply.github.com&gt;

* added tests for the datetime like dtypes

* nan as vector of length 1

* use aux[-1] as nan, ..versionchanged, release note

* for complex arrays all NaN values are considered equivalent

Co-authored-by: filip_trojan &lt;Tarantula2018&gt;
Co-authored-by: Bas van Beek &lt;43369155+BvB93@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* benchmark bench_lib.Unique added

* extended test_unique_1d

* modify _unique1d

* extend test with return_index, return_inverse and return_counts parameters

* documentation updated

* Update numpy/lib/arraysetops.py

Co-authored-by: Bas van Beek &lt;43369155+BvB93@users.noreply.github.com&gt;

* full coverage of nan types

Co-authored-by: Bas van Beek &lt;43369155+BvB93@users.noreply.github.com&gt;

* added tests for the datetime like dtypes

* nan as vector of length 1

* use aux[-1] as nan, ..versionchanged, release note

* for complex arrays all NaN values are considered equivalent

Co-authored-by: filip_trojan &lt;Tarantula2018&gt;
Co-authored-by: Bas van Beek &lt;43369155+BvB93@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>REL: Add a release note for the mypy plugin update</title>
<updated>2021-02-05T16:55:25+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2021-02-04T15:10:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=53496cdf82d6c9a3ddb40c12746d3257d9e09396'/>
<id>53496cdf82d6c9a3ddb40c12746d3257d9e09396</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Deprecate promotion of numbers and bool to string</title>
<updated>2021-01-25T19:20:57+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-01-05T04:57:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=38bda3ce9e6dc075548f378806488ad152c2e46c'/>
<id>38bda3ce9e6dc075548f378806488ad152c2e46c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>REL: Added a release note</title>
<updated>2020-12-22T16:24:04+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2020-12-11T21:09:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=75c532dd95d7233de5a4f57554a88657380dc1ec'/>
<id>75c532dd95d7233de5a4f57554a88657380dc1ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert changes to mtrand</title>
<updated>2020-12-11T15:30:50+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.sheppard@gmail.com</email>
</author>
<published>2020-12-05T21:58:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a3bb19df580454a6b98c34e29a00c271c2e411af'/>
<id>a3bb19df580454a6b98c34e29a00c271c2e411af</id>
<content type='text'>
This doesn't qualify for fixing under the NEP.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This doesn't qualify for fixing under the NEP.
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Finalize unravel_index `dims` alias for `shape` keyword</title>
<updated>2020-12-03T02:25:16+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-12-03T02:22:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d54e2dcc17e0f0a8702d4b0eb4ac30a5c927a056'/>
<id>d54e2dcc17e0f0a8702d4b0eb4ac30a5c927a056</id>
<content type='text'>
The argument was renamed to `shape` and deprecated since NumPy 1.16,
so the deprecation can now be finalized.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The argument was renamed to `shape` and deprecated since NumPy 1.16,
so the deprecation can now be finalized.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #17727 from ganesh-k13/enh_14959-libdivide</title>
<updated>2020-12-02T21:42:47+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2020-12-02T21:42:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=03692a740083a7ab54cd09a7c564cd1bbbe5c067'/>
<id>03692a740083a7ab54cd09a7c564cd1bbbe5c067</id>
<content type='text'>
ENH: Added libdivide for floor divide</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENH: Added libdivide for floor divide</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Update master after 1.20.x branch.</title>
<updated>2020-11-27T15:12:20+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-27T14:55:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a37b3a82f1abc3e73287883acfd2b06f88a09f13'/>
<id>a37b3a82f1abc3e73287883acfd2b06f88a09f13</id>
<content type='text'>
- Update setup.py
- Update pavement.py
- Add 1.21.0-note.rst
- Update npyconfig.h
- Clear release/upcoming_changes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Update setup.py
- Update pavement.py
- Add 1.21.0-note.rst
- Update npyconfig.h
- Clear release/upcoming_changes
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH,API: Store exported buffer info on the array (#16938)</title>
<updated>2020-11-26T20:43:58+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-11-26T20:43:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=af4b110273346e5969fba04365bc477747529fe2'/>
<id>af4b110273346e5969fba04365bc477747529fe2</id>
<content type='text'>
* ENH,API: Store exported buffer info on the array

This speeds up array deallocation and buffer exports, since it
removes the need to global dictionary lookups.  It also somewhat
simplifies the logic.  The main advantage is prossibly less the
speedup itself (which is not large compared to most things that
happen in the livetime of an array), but rather that no unnecessary
work is done for shortlived arrays, which never export a buffer.

The downside of this approach is that the ABI changes for anyone
who would be subclassing ndarray in C.

* MAINT: Do not tag the NULL (no buffers exported)

The allocation is not the right place to initialize to anything but
NULL, so take the easy path and do not tag the NULL default.

* TST: Add test for best try RuntimeError on corrupt buffer-info

* Remove NPY_SIZEOF_PYARRAYOBJECT and add some documentation

* Use 3 to tag the pointer and object for a "bad" one in the test

* DEP: deprecate the NPY_SIZEOF_PYARRAYOBJECT macro

* Tune down matti's deprecation to write the error instead.

* Tweak macro, so that clang hopefully doesn't complain.

* Use None instead of NULL in PyErr_WriteUnraisable, pypy seems to have a bug with it

* Just comment it out...

* Apply suggestions from code review

Co-authored-by: Matti Picus &lt;matti.picus@gmail.com&gt;

Co-authored-by: mattip &lt;matti.picus@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ENH,API: Store exported buffer info on the array

This speeds up array deallocation and buffer exports, since it
removes the need to global dictionary lookups.  It also somewhat
simplifies the logic.  The main advantage is prossibly less the
speedup itself (which is not large compared to most things that
happen in the livetime of an array), but rather that no unnecessary
work is done for shortlived arrays, which never export a buffer.

The downside of this approach is that the ABI changes for anyone
who would be subclassing ndarray in C.

* MAINT: Do not tag the NULL (no buffers exported)

The allocation is not the right place to initialize to anything but
NULL, so take the easy path and do not tag the NULL default.

* TST: Add test for best try RuntimeError on corrupt buffer-info

* Remove NPY_SIZEOF_PYARRAYOBJECT and add some documentation

* Use 3 to tag the pointer and object for a "bad" one in the test

* DEP: deprecate the NPY_SIZEOF_PYARRAYOBJECT macro

* Tune down matti's deprecation to write the error instead.

* Tweak macro, so that clang hopefully doesn't complain.

* Use None instead of NULL in PyErr_WriteUnraisable, pypy seems to have a bug with it

* Just comment it out...

* Apply suggestions from code review

Co-authored-by: Matti Picus &lt;matti.picus@gmail.com&gt;

Co-authored-by: mattip &lt;matti.picus@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
