<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/numarray/_capi.c, branch dependabot/pip/gitpython-3.1.14</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>DEP: Remove deprecated modules numarray and oldnumeric.</title>
<updated>2013-09-23T21:11:12+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-08-19T00:40:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=3beebbc0164afbbcc2b6840cf56174c6c073bb40'/>
<id>3beebbc0164afbbcc2b6840cf56174c6c073bb40</id>
<content type='text'>
They were deprecated in 1.8 and scheduled for removal in 1.9.

Closes #3637.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They were deprecated in 1.8 and scheduled for removal in 1.9.

Closes #3637.
</pre>
</div>
</content>
</entry>
<entry>
<title>FIX: remove unused variables and add casts</title>
<updated>2013-08-27T10:17:25+00:00</updated>
<author>
<name>Lars Buitinck</name>
<email>L.J.Buitinck@uva.nl</email>
</author>
<published>2013-08-27T10:05:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=994bf25181ad33385dcd7f6615846f98f06e6f3e'/>
<id>994bf25181ad33385dcd7f6615846f98f06e6f3e</id>
<content type='text'>
Makes the build complete with fewer warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes the build complete with fewer warnings.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove outdated version checks.</title>
<updated>2013-07-11T18:43:18+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-07-11T18:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=28eadc0e31ca7aea5c679023d1e703856f45c879'/>
<id>28eadc0e31ca7aea5c679023d1e703856f45c879</id>
<content type='text'>
Because Numpy 1.8.0 will no longer supports Python versions &lt; 2.6 we
no longer need to check for that and can also remove the code that is
specific to those earlier versions.

To make this a bit safer, the toplevel setup.py file now contains a
check of the Python version number and raises an error when run by an
unsupported version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because Numpy 1.8.0 will no longer supports Python versions &lt; 2.6 we
no longer need to check for that and can also remove the code that is
specific to those earlier versions.

To make this a bit safer, the toplevel setup.py file now contains a
check of the Python version number and raises an error when run by an
unsupported version.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use PyMODINIT_FUNC and update docs accordingly.</title>
<updated>2012-09-03T06:53:15+00:00</updated>
<author>
<name>cgohlke</name>
<email>cgohlke@uci.edu</email>
</author>
<published>2012-08-05T21:17:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=ead9e09c5adbc94bfc3c5cc8344089b836cfffd5'/>
<id>ead9e09c5adbc94bfc3c5cc8344089b836cfffd5</id>
<content type='text'>
See https://github.com/scipy/scipy/pull/279
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://github.com/scipy/scipy/pull/279
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename PyArray_RequireWriteable to PyArray_FailUnlessWriteable</title>
<updated>2012-05-22T10:19:11+00:00</updated>
<author>
<name>Nathaniel J. Smith</name>
<email>njs@pobox.com</email>
</author>
<published>2012-05-22T10:16:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=51616c9265155f75e536ba19c32f9f91337243af'/>
<id>51616c9265155f75e536ba19c32f9f91337243af</id>
<content type='text'>
Also clean up its API slightly so that the caller passes in a name
describing the array being checked which is used to generate an error
message, rather than writing an error message from scratch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also clean up its API slightly so that the caller passes in a name
describing the array being checked which is used to generate an error
message, rather than writing an error message from scratch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Funnel all assignments to PyArrayObject-&gt;base through a single point</title>
<updated>2012-05-15T17:48:08+00:00</updated>
<author>
<name>Nathaniel J. Smith</name>
<email>njs@pobox.com</email>
</author>
<published>2012-05-15T17:32:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=6a90adaea6ba4330e8da4db546425d9cdcc5a940'/>
<id>6a90adaea6ba4330e8da4db546425d9cdcc5a940</id>
<content type='text'>
This patch removes all direct assignments of non-NULL values to the
'base' field on PyArrayObjects. A new utility function was created to
set up UPDATEIFCOPY arrays, and all assignments to 'base' were
adjusted to use either PyArray_SetBaseObject or the new
PyArray_SetUpdateIfCopyBase.

One advantage of this is that it produces more consistent error
handling. This error handling revealed a bug in the nditer code,
which this patch does *not* yet fix.

The bug is that npyiter_new_temp_array sometimes (when dealing with
reversed axes) creates an array and then returns a view onto it. But,
npyiter_allocate_arrays assumes that the array returned by
npyiter_new_temp_array can have UPDATEIFCOPY set, which requires
reassigning its 'base' field. Previously, this meant that the
temporary array leaked. Now, it produces a ValueError.

This code path doesn't seem to actually be hit very often; only one of
the nditer tests fails because of the change. See
   numpy/core/tests/test_nditer.py:test_iter_array_cast_buggy
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes all direct assignments of non-NULL values to the
'base' field on PyArrayObjects. A new utility function was created to
set up UPDATEIFCOPY arrays, and all assignments to 'base' were
adjusted to use either PyArray_SetBaseObject or the new
PyArray_SetUpdateIfCopyBase.

One advantage of this is that it produces more consistent error
handling. This error handling revealed a bug in the nditer code,
which this patch does *not* yet fix.

The bug is that npyiter_new_temp_array sometimes (when dealing with
reversed axes) creates an array and then returns a view onto it. But,
npyiter_allocate_arrays assumes that the array returned by
npyiter_new_temp_array can have UPDATEIFCOPY set, which requires
reassigning its 'base' field. Previously, this meant that the
temporary array leaked. Now, it produces a ValueError.

This code path doesn't seem to actually be hit very often; only one of
the nditer tests fails because of the change. See
   numpy/core/tests/test_nditer.py:test_iter_array_cast_buggy
</pre>
</div>
</content>
</entry>
<entry>
<title>Consolidate all array writeability checking in new PyArray_RequireWriteable</title>
<updated>2012-05-15T14:02:24+00:00</updated>
<author>
<name>Nathaniel J. Smith</name>
<email>njs@pobox.com</email>
</author>
<published>2012-05-14T22:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=cbce4e6565e7a7fbe065502b264622ce7d64740a'/>
<id>cbce4e6565e7a7fbe065502b264622ce7d64740a</id>
<content type='text'>
This is mostly a code cleanup, but it does have a user-visible effect
in that attempting to write to a unwriteable array now consistently
raises ValueError. (It used to randomly raise either ValueError or
RuntimeError.)

Passes numpy.test("full").
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is mostly a code cleanup, but it does have a user-visible effect
in that attempting to write to a unwriteable array now consistently
raises ValueError. (It used to randomly raise either ValueError or
RuntimeError.)

Passes numpy.test("full").
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Update all the '#define NPY_NO_DEPRECATED_API' instances to be</title>
<updated>2012-04-06T21:54:30+00:00</updated>
<author>
<name>Mark Wiebe</name>
<email>mwwiebe@gmail.com</email>
</author>
<published>2012-02-05T00:28:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=e1218cc68ddab6b806628877de19394616df04f7'/>
<id>e1218cc68ddab6b806628877de19394616df04f7</id>
<content type='text'>
versioned
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
versioned
</pre>
</div>
</content>
</entry>
<entry>
<title>UPDATE: Replace macros in old_defines.h by new.</title>
<updated>2012-02-04T23:11:39+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2012-02-02T01:42:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=8a0e7cd26ea2803b8580dcca1d1306baa1d702dc'/>
<id>8a0e7cd26ea2803b8580dcca1d1306baa1d702dc</id>
<content type='text'>
With the exception of the numarray fixups these were all instances
that were results of code generation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the exception of the numarray fixups these were all instances
that were results of code generation.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: core: Rename PyArray_SetBase to PyArray_SetBaseObject to be more clear</title>
<updated>2011-07-22T20:40:28+00:00</updated>
<author>
<name>Mark Wiebe</name>
<email>mwiebe@enthought.com</email>
</author>
<published>2011-07-22T20:40:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=a2ed62a5f42459a14c233cef35f07a032c9ca36c'/>
<id>a2ed62a5f42459a14c233cef35f07a032c9ca36c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
