summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* REL: NumPy 1.11.2rc1.v1.11.2rc1Charles Harris2016-09-112-5/+5
|
* Merge pull request #8046 from charris/backport-8045Charles Harris2016-09-111-0/+1
|\ | | | | Backport 8045, DOC: Update 1.11.2 release notes.
| * DOC: Update 1.11.2 release notes.Charles Harris2016-09-111-0/+1
|/ | | | [ci skip]
* Merge pull request #8044 from charris/backport-8042Charles Harris2016-09-113-1/+38
|\ | | | | Backport 8042, BUG: core: fix bug in NpyIter buffering with discontinuous arrays
| * BUG: core: fix bug in NpyIter buffering with discontinuous arraysPauli Virtanen2016-09-113-1/+38
|/ | | | | | It is possible to skip copying an array to the buffer only if the reduction outer iterator is 1-dimensional --- the array may not be c-contiguous.
* Merge pull request #8032 from charris/backport-8028Charles Harris2016-09-071-6/+9
|\ | | | | DOC: Update 1.11.2 release notes.
| * DOC: Update 1.11.2 release notes.Charles Harris2016-09-071-6/+9
|/ | | | [ci skip]
* Merge pull request #8031 from charris/backport-8030Charles Harris2016-09-072-2/+10
|\ | | | | Backport 8030, BUG: fix np.ma.median with only one non-masked value
| * BUG: fix np.ma.median with only one non-masked valueLoïc Estève2016-09-072-2/+10
|/ | | | and an axis argument. Add test.
* Merge pull request #8024 from charris/backport-8016Charles Harris2016-09-062-8/+43
|\ | | | | Backport 8016, BUG: Fix numpy.ma.median.
| * TST: Add ma.median tests for valid axis.Charles Harris2016-09-061-0/+32
| |
| * BUG: Fix numpy.ma.median for various things.Charles Harris2016-09-061-8/+11
|/ | | | | | | | | | | This fixes four bugs: - Use of booleans for indexing in ma.extras._median - Error when mask is nomask and ndim != 1 in ma.extras._median - Did not work for 0-d arrays. - No out argument for {0,1}-d arrays. Closes #8015.
* Merge pull request #8020 from charris/backport-8018Charles Harris2016-09-062-2/+11
|\ | | | | Backport 8018, BUG: Fixes return for np.ma.count if keepdims is True and axis is None
| * BUG: Fixes return for np.ma.count if keepdims is True and axis is NoneMichael Seifert2016-09-052-2/+11
|/ | | | | | | | | | The returned value is wrapped in an integer array of appropriate dimensions if keepdims is True and axis is None for np.ma.count. Also included: - Whitespace after "," (PEP8) - any instead of np.any when checking if any axis is out of bounds (performance)
* Merge pull request #8012 from charris/backport-8011Charles Harris2016-09-031-0/+1
|\ | | | | Backport 8011, DOC: Update 1.11.2 release notes.
| * DOC: Update 1.11.2 release notes.Charles Harris2016-09-031-0/+1
| | | | | | | | [ci skip]
* | Merge pull request #8010 from charris/backport-8008Charles Harris2016-09-032-2/+0
|\ \ | |/ |/| Backport 8008, MAINT: Remove leftover imp module imports.
| * MAINT: Remove leftover imp module imports.Charles Harris2016-09-032-2/+0
|/ | | | | | | There were two remaining imports of the deprecated imp module, neither of which seems to have been used beyond the import. Closes #5997.
* Merge pull request #8007 from charris/backport-8006Charles Harris2016-09-031-4/+5
|\ | | | | Backport 8006, DOC: Update 1.11.2 release notes.
| * DOC: Update 1.11.2 release notes.Charles Harris2016-09-031-4/+5
|/ | | | [ci skip]
* Merge pull request #8005 from charris/backport-7956Charles Harris2016-09-031-0/+5
|\ | | | | Backport 7956, BLD: remove __NUMPY_SETUP__ from builtins at end of setup.py
| * BLD: remove __NUMPY_SETUP__ from builtins at end of setup.pyRalf Gommers2016-09-031-0/+5
| | | | | | | | May help reduce the occurrence of gh-2434.
* | Merge pull request #7990 from charris/backport-7977Charles Harris2016-08-292-0/+34
|\ \ | |/ |/| Backport 7977, DOC: Create 1.11.2 release notes.
| * DOC: Create 1.11.2 release notes.Charles Harris2016-08-292-0/+34
|/ | | | [ci skip]
* Merge pull request #7972 from charris/backport-7963Charles Harris2016-08-252-25/+97
|\ | | | | Backport 7963, BUG: MSVCCompiler grows 'lib' & 'include' env strings exponentially.
| * BUG: MSVCCompiler grows 'lib' & 'include' env strings exponentially.Charles Harris2016-08-252-25/+97
|/ | | | | | | | | Each time an MSVCCompiler was instantiated the old values of os.environ['lib'] and os.environ['include'] were concatenated to the new values set by initializing the distutils.msvc{,9}compiler.MSVCCompiler base class. Consequently when the the old and new values of those variables were the same, they doubled in size with each instantiation, leading to quickly hitting the 32,768 character limit.
* Merge pull request #7953 from charris/backport-7937Charles Harris2016-08-202-4/+19
|\ | | | | Backport 7937, BUG: Guard against buggy comparisons in generic quicksort.
| * BUG: Guard against buggy comparisons in generic quicksort.Charles Harris2016-08-202-4/+19
| | | | | | | | | | | | | | | | | | | | Generic types may have buggy comparison operators in which case the sentinal values in quicksort cannot be counted on to keep the pointers from running off the ends of the array. The solution here is to explicitly check that the pointers are in bounds when sorting generic types. Closes #7934.
* | Merge pull request #7955 from charris/backport-7941Charles Harris2016-08-203-53/+81
|\ \ | | | | | | Backport 7941, BUG: Make sure numpy globals keep identity after reload.
| * | BUG: Make sure numpy globals keep identity after reload.Charles Harris2016-08-203-53/+81
| |/ | | | | | | | | | | | | | | | | | | | | | | Reloading currently causes problems because global classes defined in numpy/__init__.py change their identity (a is b) after reload. The solution taken here is to move those classes to a new non-reloadable module numpy/_globals and import them into numpy from there. Classes moved are ModuleDeprecationWarning, VisibleDeprecationWarning, and _NoValue. Closes #7844.
* | Merge pull request #7954 from charris/backport-7952Charles Harris2016-08-201-30/+33
|\ \ | |/ |/| Backport 7952, BUG: Use keyword arguments to initialize Extension base class.
| * BUG: Use keyword arguments to initialize Extension base class.Charles Harris2016-08-201-30/+33
|/ | | | | | | | | | | | Currently numpy.distutils.Extension class subclasses python's distutils.extension.Extension class and initializes the base class with a call that uses positional arguments rather than keyword arguments. This causes problems with setuptools 25.4.0 where the Extension class gets a new init function that expects keyword rather than positional arguments. We should have been using keyword arguments all along and our luck has run out, so use proper keywords Closes #7951.
* Merge pull request #7939 from charris/backport-7931Charles Harris2016-08-151-1/+8
|\ | | | | Backport 7931, BUG: Check for HAVE_LDOUBLE_DOUBLE_DOUBLE_LE in npy_math_complex.
| * BUG: Check for HAVE_LDOUBLE_DOUBLE_DOUBLE_LE in npy_math_complex.Charles Harris2016-08-151-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | The `_real_part_reciprocal` function is coded in two ways, one depending on functions specific to IEEE floating point and the other using generic code that should always work. Because PPC long double is not IEEE the generic version should always be chosen for that architecture, but that is currently only done when the PPC is configured as big endian. This PR makes sure that the generic version is also chosen when the PPC is configured as little endian. Closes #7836.
* | Merge pull request #7932 from charris/backport-7925Ralf Gommers2016-08-131-1/+1
|\ \ | | | | | | Backport 7925, Monkey-patch _msvccompile.gen_lib_option like any other compilators
| * | Monkey-patch _msvccompile.gen_lib_option like any other compilatorsValentin Valls2016-08-121-1/+1
| |/ | | | | | | | | | | | | `setuptools` is now using `_msvccompile` instead of `msvccompile9`. numpy is monkey-patching symmetrically `gen_lib_options` and `spawn` function for all compilators. But `_msvccompile.gen_lib_options` was not monkey-patched while `_msvccompile.spawn` is already monkey-patched throug the super class `ccompiler.spawn`. This patch only symmetrically patch `_msvccompile` to prevent param file quoting.
* | Merge pull request #7920 from ahaldane/1dmedian_backport_2Charles Harris2016-08-082-8/+46
|\ \ | | | | | | Backport #7911: BUG: fix for issue#7835 (ma.median of 1d)
| * | BUG: modified ndim condition to use masked_arrayskwbc2016-08-081-1/+1
| | |
| * | BUG: fix for issue#7835 (ma.median of 1d)Shota Kawabuchi2016-08-082-8/+46
| |/
* | Merge pull request #7919 from charris/backport-7908Charles Harris2016-08-081-19/+3
|\ \ | |/ |/| Backport 7908, BLD: Fixed MKL detection for recent versions of this library.
| * Fixed MKL detection for recent versions of this library.Xavier Abellan Ecija2016-08-081-19/+3
|/
* Merge pull request #7917 from charris/fix-skiptest-importRalf Gommers2016-08-081-2/+4
|\ | | | | BUG: Production install of numpy should not require nose.
| * BUG: Production install of numpy should not require nose.Charles Harris2016-08-071-2/+4
| | | | | | | | | | | | | | | | | | | | This fixes a Python 2.6 specific problem resulting from a failed import of SkipTest. SkipTest was not part of unittest until Python 2.7 and the fallback was to import it from nose. Closes #7498. [ci skip]
* | Merge pull request #7904 from charris/backport-7903Charles Harris2016-08-043-4/+6
|\ \ | |/ |/| Backport 7903, BUG: fix float16 type not being called due to wrong ordering
| * BUG: fix float16 type not being called due to wrong orderingJulian Taylor2016-08-043-4/+6
|/ | | | closes gh-7897
* Merge pull request #7896 from charris/backport-7894Charles Harris2016-08-032-15/+56
|\ | | | | Backport 7894, BUG: construct ma.array from np.array which contains padding
| * DOC: Docstring capitalization/sentence fixes in numpy/ma/core.py.Charles Harris2016-08-031-7/+7
| |
| * BUG: construct ma.array from np.array which contains paddingAllan Haldane2016-08-032-15/+56
|/ | | | | | | Structured dtypes with padding bytes fail in MaskedArrays because of padding bytes in `dtype.descr`. Fix is to avoid using dtype.descr.
* Merge pull request #7870 from charris/backport-7853Charles Harris2016-07-252-9/+44
|\ | | | | Backport 7853, BUG: Raise RuntimeError when reloading numpy is attempted.
| * BUG: Raise RuntimeError when reloading numpy is attempted.Charles Harris2016-07-252-9/+44
|/ | | | | | | | | | There seems to be little use in reloading numpy as any changed modules that are imported into numpy would need to be reloaded first in order to see any changes. Furthermore, reloading causes problems as global classes defined in numpy/__init__.py change their identity. Hence we raise a RuntimeError when an attempt to reload numpy is made. Closes #7844.