<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy, 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>BUG: Fix failing mypy test in 1.20.x.</title>
<updated>2021-05-09T17:15:05+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2021-05-09T14:45:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=863982159be605d719584e9551a0d6d575823406'/>
<id>863982159be605d719584e9551a0d6d575823406</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Avoid treating _SIMD module build warnings as errors</title>
<updated>2021-05-06T15:49:52+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2021-05-04T11:15:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=cbfe84725bbf7c37ff2181df9d888e4916118f44'/>
<id>cbfe84725bbf7c37ff2181df9d888e4916118f44</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove buffer-clearing from copy code</title>
<updated>2021-05-06T01:50:36+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-04-20T00:20:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=acf6648a5a155c45314e1fb24b07e4a9f4dfabec'/>
<id>acf6648a5a155c45314e1fb24b07e4a9f4dfabec</id>
<content type='text'>
Buffer must always either contain NULL or valid references
(assuming the dtype supports references) in order to allow
cleanup in case of errors.

It is thus unnecessary to clear buffers before every copy, if
they contain NULL, all is fine. If they contain non-NULL, we should
also DECREF those references (so it would be incorrect as well).

Buffers thus need the memset exactly once: directly upon allcoation
(which we do now).  After this any transfer from/to the buffer needs
to ensure that the buffer is always in a good state.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Buffer must always either contain NULL or valid references
(assuming the dtype supports references) in order to allow
cleanup in case of errors.

It is thus unnecessary to clear buffers before every copy, if
they contain NULL, all is fine. If they contain non-NULL, we should
also DECREF those references (so it would be incorrect as well).

Buffers thus need the memset exactly once: directly upon allcoation
(which we do now).  After this any transfer from/to the buffer needs
to ensure that the buffer is always in a good state.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Initialize the full nditer buffer in case of error</title>
<updated>2021-05-06T01:50:36+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-04-20T00:16:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=92da57b6f8111c05184b45081b39269e90fa93dd'/>
<id>92da57b6f8111c05184b45081b39269e90fa93dd</id>
<content type='text'>
This is necessary because in some rare cases (reductions), we may
not actually use the full buffer.  In that case, the cleanup-on-error
code would have to grow smart enough to handle these cases.
It seems much simpler to just always initialize the full buffers, even
if we may not end up using them.

Admittedly, the old logic might have skipped the buffer clearing
(especially the full buffer) in a fair bit of cases, but since
this is only relevant for `object` dtype, I assume this is fine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is necessary because in some rare cases (reductions), we may
not actually use the full buffer.  In that case, the cleanup-on-error
code would have to grow smart enough to handle these cases.
It seems much simpler to just always initialize the full buffers, even
if we may not end up using them.

Admittedly, the old logic might have skipped the buffer clearing
(especially the full buffer) in a fair bit of cases, but since
this is only relevant for `object` dtype, I assume this is fine.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18925 from charris/backport-18910</title>
<updated>2021-05-06T01:48:42+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2021-05-06T01:48:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=40e59dde510e0696bf96635d5e6bbb2eee566be1'/>
<id>40e59dde510e0696bf96635d5e6bbb2eee566be1</id>
<content type='text'>
BUG: for MINGW,  threads.h existence test requires GLIBC &gt; 2.12</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: for MINGW,  threads.h existence test requires GLIBC &gt; 2.12</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18923 from charris/backport-18900</title>
<updated>2021-05-06T01:48:27+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2021-05-06T01:48:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8c0d09b1f799aa24a77caa75b1e35f11d4d43a0c'/>
<id>8c0d09b1f799aa24a77caa75b1e35f11d4d43a0c</id>
<content type='text'>
BLD: remove unnecessary flag `-faltivec` on macOS</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BLD: remove unnecessary flag `-faltivec` on macOS</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18921 from charris/backport-18750</title>
<updated>2021-05-06T01:47:56+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2021-05-06T01:47:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9d6b02f70544d55aa66cff0def29957ccc7d1656'/>
<id>9d6b02f70544d55aa66cff0def29957ccc7d1656</id>
<content type='text'>
MAINT: Allow more recursion depth for scalar tests.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: Allow more recursion depth for scalar tests.</pre>
</div>
</content>
</entry>
<entry>
<title>BUG FIX for MINGW : threads.h existence test requires GLIBC &gt; 2.12</title>
<updated>2021-05-05T23:38:54+00:00</updated>
<author>
<name>Dong Keun Oh</name>
<email>spinhalf@nfri.re.kr</email>
</author>
<published>2021-05-05T06:26:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=01687f4b155802c21124770c7c7f694edc869b06'/>
<id>01687f4b155802c21124770c7c7f694edc869b06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BLD: remove unnecessary flag `-faltivec` on macOS</title>
<updated>2021-05-05T23:25:07+00:00</updated>
<author>
<name>Sayed Adel</name>
<email>seiko@imavr.com</email>
</author>
<published>2021-05-04T07:23:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=aaf8363c375d95d2ba665cbd1f4bd61399aa4f99'/>
<id>aaf8363c375d95d2ba665cbd1f4bd61399aa4f99</id>
<content type='text'>
  Supporting PowerPC/AltiVec on macOS is no longer necessary,
  even if the Mac/G5 is still running having `-faltivec` or
  replacing it with the new AltiVec flag `-maltivec` wouldn't
  increase that much performance without raw SIMD.

  note: the flag was enabled on non-intel platforms which
  causes fatal build errors on macOS/arm64.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Supporting PowerPC/AltiVec on macOS is no longer necessary,
  even if the Mac/G5 is still running having `-faltivec` or
  replacing it with the new AltiVec flag `-maltivec` wouldn't
  increase that much performance without raw SIMD.

  note: the flag was enabled on non-intel platforms which
  causes fatal build errors on macOS/arm64.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Allow more recursion depth for scalar tests.</title>
<updated>2021-05-05T23:12:43+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2021-04-11T16:50:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=222bc60d0f269b6cc4f51d14dcc79cef39bcf9ec'/>
<id>222bc60d0f269b6cc4f51d14dcc79cef39bcf9ec</id>
<content type='text'>
The test_operator_object_left and test_operator_object_right tests in
test_scalarmath.py set a maximum recursion depth of 100 that caused an
error in gitpod because it was too close to the starting depth of 75.
The fix here is to raise the maximum depth to 200.

Closes #18749
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test_operator_object_left and test_operator_object_right tests in
test_scalarmath.py set a maximum recursion depth of 100 that caused an
error in gitpod because it was too close to the starting depth of 75.
The fix here is to raise the maximum depth to 200.

Closes #18749
</pre>
</div>
</content>
</entry>
</feed>
