Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DEP: Remove deprecated modules numarray and oldnumeric. | Charles Harris | 2013-09-23 | 1 | -3441/+0 |
| | | | | | | They were deprecated in 1.8 and scheduled for removal in 1.9. Closes #3637. | ||||
* | FIX: remove unused variables and add casts | Lars Buitinck | 2013-08-27 | 1 | -1/+1 |
| | | | | Makes the build complete with fewer warnings. | ||||
* | MAINT: Remove outdated version checks. | Charles Harris | 2013-07-11 | 1 | -4/+0 |
| | | | | | | | | | | Because Numpy 1.8.0 will no longer supports Python versions < 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. | ||||
* | Use PyMODINIT_FUNC and update docs accordingly. | cgohlke | 2012-09-02 | 1 | -1/+1 |
| | | | | See https://github.com/scipy/scipy/pull/279 | ||||
* | Rename PyArray_RequireWriteable to PyArray_FailUnlessWriteable | Nathaniel J. Smith | 2012-05-22 | 1 | -3/+3 |
| | | | | | | 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. | ||||
* | Funnel all assignments to PyArrayObject->base through a single point | Nathaniel J. Smith | 2012-05-15 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Consolidate all array writeability checking in new PyArray_RequireWriteable | Nathaniel J. Smith | 2012-05-15 | 1 | -10/+8 |
| | | | | | | | | | 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"). | ||||
* | DEP: Update all the '#define NPY_NO_DEPRECATED_API' instances to be | Mark Wiebe | 2012-04-06 | 1 | -1/+1 |
| | | | | versioned | ||||
* | UPDATE: Replace macros in old_defines.h by new. | Charles Harris | 2012-02-04 | 1 | -2/+2 |
| | | | | | With the exception of the numarray fixups these were all instances that were results of code generation. | ||||
* | ENH: core: Rename PyArray_SetBase to PyArray_SetBaseObject to be more clear | Mark Wiebe | 2011-07-22 | 1 | -1/+1 |
| | |||||
* | ENH: core: More cleanups removing direct PyArrayObject field access | Mark Wiebe | 2011-07-19 | 1 | -106/+106 |
| | |||||
* | ENH: core: Progress getting NumPy building without direct field access | Mark Wiebe | 2011-07-19 | 1 | -13/+19 |
| | |||||
* | 3K: numarray: Python3 fixes in _capi.c | Pauli Virtanen | 2010-07-17 | 1 | -20/+24 |
| | | | | Thanks to Christoph Gohlke. | ||||
* | BUG: core: use PyCapsule objects only on Python >= 3.0, stay with PyCObjects ↵ | Pauli Virtanen | 2010-07-17 | 1 | -1/+1 |
| | | | | on Python 2.x | ||||
* | BUG: Fix problem with numarray _capi.c and python 2.7. | Charles Harris | 2010-05-24 | 1 | -2/+6 |
| | |||||
* | ENH, BUG: PyCObject will be deprecated in python 2.7. So use the NpyCapsule | Charles Harris | 2010-05-03 | 1 | -1/+1 |
| | | | | | | | compatibility functions in npy_3kcompat.h to replace the current calls. This gets rid of a number of version checks and is easier to maintain. Fix bug that was present in the ufunc _loop1d_list_free destructor in the python3k case. | ||||
* | ENH: get rid of #warning directives, either by fixing the issue or changing ↵ | Pauli Virtanen | 2010-04-04 | 1 | -3/+3 |
| | | | | them to comments | ||||
* | ENH: Try to fix numarray _capi.c for Python >= 3.1. Needs testing that I am not | Charles Harris | 2010-02-25 | 1 | -10/+40 |
| | | | | in a position to do. | ||||
* | BUG: Replace deprecated PyCObject by PyCapsule for Python >= 3.1. | Charles Harris | 2010-02-23 | 1 | -0/+4 |
| | |||||
* | BUG: fix numarray._capi compilation | Pauli Virtanen | 2010-02-21 | 1 | -1/+1 |
| | |||||
* | 3K: numarray: replace buffer APIs by dummy+error. Some ob_types. | Pauli Virtanen | 2009-12-06 | 1 | -4/+31 |
| | |||||
* | ENH: Fix some more uninitialized vars. | David Cournapeau | 2009-09-16 | 1 | -18/+52 |
| | |||||
* | Reindent and cleanup whitespace. | Charles Harris | 2009-06-03 | 1 | -2316/+2314 |
| | |||||
* | More signed/unsigned comp fixes. | David Cournapeau | 2009-03-09 | 1 | -6/+6 |
| | |||||
* | More unused vars tagged. | David Cournapeau | 2008-10-08 | 1 | -15/+16 |
| | |||||
* | Fix building on freebsd [patch by Joe Peterson]. | Stefan van der Walt | 2007-12-14 | 1 | -3/+7 |
| | |||||
* | #513: fix up include of fenv.c in numarray for cygwin | cookedm | 2007-05-15 | 1 | -10/+7 |
| | |||||
* | Change defined(linux) to defined(__GLIBC__) | Travis Oliphant | 2007-04-06 | 1 | -2/+2 |
| | |||||
* | Include fenv.h the second time for CYGWIN. Change a few defines. | Travis Oliphant | 2007-04-05 | 1 | -3/+2 |
| | |||||
* | Added patch in ticket #458 for compilation on Cygwin. | Travis Oliphant | 2007-03-26 | 1 | -1/+5 |
| | |||||
* | Fix include directory for fenv.c | Travis Oliphant | 2007-01-25 | 1 | -1/+1 |
| | |||||
* | Fix location of fenv.h file for CYGWIN to correct compilation of NumPy on CYGWIN | Travis Oliphant | 2007-01-24 | 1 | -1/+1 |
| | |||||
* | Fix warnings found by Intel compiler due to unused variables that were set. ↵ | Travis Oliphant | 2006-12-02 | 1 | -5/+3 |
| | | | | Make ones work for compound types. | ||||
* | Python 2.5 fixes: replace int with Py_ssize_t where appropiate | cookedm | 2006-09-28 | 1 | -1/+1 |
| | |||||
* | Fix warning... | Travis Oliphant | 2006-08-25 | 1 | -1/+2 |
| | |||||
* | Fix NA_NewAllFromBuffer when shape is given | Travis Oliphant | 2006-08-24 | 1 | -21/+30 |
| | |||||
* | Apply npy_ and NPY_ prefixes to all C-API names that don't already have ↵ | Travis Oliphant | 2006-07-08 | 1 | -11/+11 |
| | | | | PyArray_ prefixes. | ||||
* | Fix to NA_OptionalOutputArray so that resulting array is a copy of the ↵ | chanley | 2006-07-06 | 1 | -1/+2 |
| | | | | master when the specified output array is NULL or None, i.e. omitted. flags. Submitted on behalf of jmiller. | ||||
* | Undo move to numpy_numarray. | Travis Oliphant | 2006-06-26 | 1 | -1/+1 |
| | |||||
* | Renamed numpy/numarray/numpy directory to numpy/numarray/numpy_numarray to ↵ | chanley | 2006-06-26 | 1 | -1/+1 |
| | | | | be consistent with setup file and usage instructions. Modified _capi.c to use the new directory name. | ||||
* | Fixed build problem with Solaris compilers. Needed to remove return values ↵ | chanley | 2006-06-20 | 1 | -3/+3 |
| | | | | from void functions in numarray c-api. | ||||
* | One more name change. | Travis Oliphant | 2006-06-20 | 1 | -1/+1 |
| | |||||
* | Fix-up C-API support for numarray | Travis Oliphant | 2006-06-20 | 1 | -76/+79 |
| | |||||
* | Fix reference-count problem in z **= 1 and more numarray compatiblity fixes. | Travis Oliphant | 2006-06-20 | 1 | -64/+275 |
| | |||||
* | Adding numarray C-API | Travis Oliphant | 2006-06-20 | 1 | -1/+1 |
| | |||||
* | Draft of libnumarray C-API. | Travis Oliphant | 2006-06-20 | 1 | -2564/+1554 |
| | |||||
* | Adding numarray c-api compatibility. | Travis Oliphant | 2006-06-19 | 1 | -0/+4124 |