<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/doc/release, branch v1.20.3</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>CI: Use `towncrier build` explicitly</title>
<updated>2021-04-16T20:44:41+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-04-16T17:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=afc158d6d9fcacabfbc533bfd46163fefbf85ec9'/>
<id>afc158d6d9fcacabfbc533bfd46163fefbf85ec9</id>
<content type='text'>
Without any argument towncrier defaults to `build`.  But towncrier
added a `--version` argument to just print the towncrier version.

NumPy relies on passing `--version` which collides.  Even if
towncrier might revert the change, using `towncrier build` explicitly
just doesn't hurt.

Closes gh-18788
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without any argument towncrier defaults to `build`.  But towncrier
added a `--version` argument to just print the towncrier version.

NumPy relies on passing `--version` which collides.  Even if
towncrier might revert the change, using `towncrier build` explicitly
just doesn't hurt.

Closes gh-18788
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Run towncrier to produce unedited release notes.</title>
<updated>2020-11-28T19:28:03+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-28T19:28:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f47b9c1bf62c55d68747bb73ccfad94623a955c2'/>
<id>f47b9c1bf62c55d68747bb73ccfad94623a955c2</id>
<content type='text'>
This is a separate commit so that it can be cherry-picked to master
to cleanup the upcoming_changes directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a separate commit so that it can be cherry-picked to master
to cleanup the upcoming_changes directory.
</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>
<entry>
<title>DOC: Add release note for gh-16161.</title>
<updated>2020-11-25T19:11:06+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-25T17:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ed49df0e1177aa31f0751f0e11acba470663023b'/>
<id>ed49df0e1177aa31f0751f0e11acba470663023b</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 #17823 from charris/update-release-fragments</title>
<updated>2020-11-23T20:01:59+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-23T20:01:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=918ed48eeffaf26b6ebc0d9a1296d756a349bc7d'/>
<id>918ed48eeffaf26b6ebc0d9a1296d756a349bc7d</id>
<content type='text'>
DOC: Add missing release fragments to ``upcoming_changes``.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DOC: Add missing release fragments to ``upcoming_changes``.</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add gh-17344 to the NumPy 1.20.0 release notes.</title>
<updated>2020-11-22T17:30:42+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-22T17:30:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=10e077a8b5fbf963664884aa175b8f0475bff967'/>
<id>10e077a8b5fbf963664884aa175b8f0475bff967</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add gh-17284 to NumPy 1.20.0 release notes.</title>
<updated>2020-11-22T17:26:44+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-22T17:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c6fe71771ae8e571f5040a37fe10e6ac355dadea'/>
<id>c6fe71771ae8e571f5040a37fe10e6ac355dadea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add gh-17195 to NumPy 1.20.0 release notes.</title>
<updated>2020-11-22T17:20:17+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-22T17:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=56a80016fbd6b206f7e7e4b9afa3d82d2225c348'/>
<id>56a80016fbd6b206f7e7e4b9afa3d82d2225c348</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add gh-17123 to NumPy 1.20.0 release notes.</title>
<updated>2020-11-22T17:01:23+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-22T17:01:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c4cbf80f7a24070267538dc55e5821d521cbf04a'/>
<id>c4cbf80f7a24070267538dc55e5821d521cbf04a</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 #15852 from sgasse/add_where_to_mean</title>
<updated>2020-11-22T16:42:31+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-11-22T16:42:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=269f2f2d30a2c6ef3c435386aa392b5b1715c662'/>
<id>269f2f2d30a2c6ef3c435386aa392b5b1715c662</id>
<content type='text'>
ENH: Add where argument to np.mean</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ENH: Add where argument to np.mean</pre>
</div>
</content>
</entry>
</feed>
