summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* BUG: distance arg of np.gradient must be scalar, fix docstringAllan Haldane2016-05-112-5/+10
| | | | | | | Fixups to docstring, and disallow non-scalars as the distance args to np.gradient. Fixes #7548, fixes #6847
* Merge pull request #7579 from nevimov/update-attributes-section-of-doc-guideCharles Harris2016-04-271-1/+1
|\ | | | | DOC: clarify purpose of Attributes section
| * DOC: clarify purpose of Attributes sectionnevimov2016-04-281-1/+1
|/ | | | | | | | According to the official Python documentation, term "class variables" denotes attributes shared by all instances of the class. The current version of the Numpy/Scipy documentation guide uses the term to mean non-method attributes. This commit replaces the confusing term with a more appropriate one.
* Merge pull request #7568 from mlamarre/fix_swig_py3_overflowCharles Harris2016-04-251-7/+14
|\ | | | | Fix a false positive OverflowError in Python 3.x when value above 0x7…
| * Fix a false positive OverflowError in Python 3.x when value above 0x7FFFFFF ↵Mathieu Lamarre2016-04-221-7/+14
|/ | | | | | | | | | | | are passed to a function accepting "unsigned int". This a port of a fix in pyprimtype.swg from which several code snippets where copy pasted into swig/pyfragments.swg. Please see SWIG changes log (2015-12-23) for more details: http://www.swig.org/Release/CHANGES.current 2015-12-23: ahnolds [Python] Fixes for conversion of signed and unsigned integer types ...
* Merge pull request #7566 from ogrisel/use-cython-wheelCharles Harris2016-04-211-5/+1
|\ | | | | MAINT: use manylinux1 wheel for cython
| * MAINT: use manylinux1 wheel for cythonOlivier Grisel2016-04-211-5/+1
|/
* Merge pull request #7404 from haypo/raw_mallocNathaniel J. Smith2016-04-211-3/+14
|\ | | | | Use PyMem_RawMalloc on Python 3.4 and newer
| * Use PyMem_RawMalloc on Python 3.4 and newerVictor Stinner2016-04-211-3/+14
| | | | | | | | | | | | | | | | | | Change PyArray_malloc() macro to use PyMem_RawMalloc() on Python 3.4 and newer. This macro can be called indirectly from ufunc_at() which releases the GIL, whereas PyMem_Malloc() requires the GIL to be held: https://docs.python.org/dev/c-api/memory.html#memory-interface PyMem_RawMalloc() can be called without the GIL.
* | Merge pull request #7549 from matthew-brett/fix-no-compiler-errorsNathaniel J. Smith2016-04-151-6/+30
|\ \ | | | | | | BUG: allow graceful recovery for no Liux compiler
| * | BUG: allow graceful recovery for no compilerMatthew Brett2016-04-141-6/+30
|/ / | | | | | | | | | | | | | | | | | | If there is no compiler on Linux, the error we were getting was CompileError rather than the OSError the test was expecting. This had the nasty side-effect of leaving us in a deleted temporary directory, causing later test failures. Try a check to see if we have a compiler and skip otherwise.
* | Merge pull request #7536 from charris/random-use-pycapsuleNathaniel J. Smith2016-04-105-107/+24
|\ \ | | | | | | MAINT: Always use PyCapsule instead of PyCObject in mtrand.pyx
| * | MAINT: Ignore DeprecationWarning for random_integers in tests.Charles Harris2016-04-101-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | The warning turned up when the numpy/randome/tests were run using $ python runtests.py -t numpy/random/tests/ It doesn't show when all the tests are run.
| * | MAINT: Always use PyCapsule instead of PyCObject in mtrand.pyx.Charles Harris2016-04-104-98/+11
|/ / | | | | | | | | | | Python 2.7 has a backport of PyCapsule so we no longer need to support PyCObject. This PR makes that change and removes the no longer needed mt_compat.h file.
* | Merge pull request #7534 from charris/update-classifiersNathaniel J. Smith2016-04-091-5/+2
|\ \ | | | | | | MAINT: Update setup.py to reflect supported python versions.
| * | MAINT: Update setup.py to reflect supported python versions.Charles Harris2016-04-091-5/+2
|/ / | | | | | | | | Numpy 1.12.0 will support Python 2.7, 3.4 and 3.5 with support for 2.6, 3.2, and 3.3 dropped, so remove the latter.
* | Merge pull request #7529 from simongibbons/lexsort_fixCharles Harris2016-04-082-5/+11
|\ \ | | | | | | BUG: Floating exception with invalid axis in np.lexsort
| * | BUG: Floating exception with invalid axis in np.lexsortSimon Gibbons2016-04-082-5/+11
|/ / | | | | | | | | | | | | | | | | | | | | | | | | When an invalid axis was passed into PyArray_LexSort it would attempt to create a set of iterators to ignore that axis before checking to see if the axis was valid. This would cause a floating exception as the dimension of the invalid axis would on occasion return zero. This fixes that by moving the axis to before the iterator creation. Fixes #7528
* | Merge pull request #7526 from madphysicist/patch-1Nathaniel J. Smith2016-04-071-1/+1
|\ \ | | | | | | DOC: Removed an extra `:const:`
| * | DOC: Removed an extra `:const:`Joseph Fox-Rabinovitz2016-04-071-1/+1
|/ /
* | Merge pull request #7522 from splendido/patch-1Charles Harris2016-04-071-1/+1
|\ \ | | | | | | Fixed iteration over additional bad commands
| * | Fixed iteration over additional bad commandsLuca Mussi2016-04-071-1/+1
| | |
* | | Merge pull request #6660 from wackywendell/usepathCharles Harris2016-04-076-19/+180
|\ \ \ | | | | | | | | Added pathlib support for several functions
| * | | ENH: Add support for pathlib.Path objects to save/load functionsWendell Smith2016-04-066-19/+180
| | | |
* | | | Merge pull request #7518 from nforro/issue-7517Charles Harris2016-04-071-2/+2
|\ \ \ \ | |_|/ / |/| | | BUG: Extend glibc complex trig functions blacklist to glibc < 2.18.
| * | | BUG: Extend glibc complex trig functions blacklist to glibc < 2.18.Nikola Forró2016-04-061-2/+2
| |/ / | | | | | | | | | | | | | | | | | | The library complex trig functions are inaccurate also in glibc versions 2.16 and 2.17, so extend the blacklist. Closes #7517.
* | | BUG: Add bytes to numpy.sctypes in Python 3.Antony Lee2016-04-073-5/+11
| | |
* | | Merge pull request #7521 from matthew-brett/rephrase-mmap-changesNathaniel J. Smith2016-04-061-4/+8
|\ \ \ | |/ / |/| | DOC: rephrase writeup of memmap changes
| * | DOC: rephrase writeup of memmap changesMatthew Brett2016-04-061-4/+8
|/ / | | | | | | Fix a little grammatical error and expand the text on mmap changes.
* | Merge pull request #7515 from ahaldane/ma_fix_negative_countCharles Harris2016-04-052-1/+12
|\ \ | | | | | | BUG: MaskedArray.count treats negative axes incorrectly
| * | BUG: MaskedArray.count treats negative axes incorrectlyAllan Haldane2016-04-052-1/+12
|/ / | | | | | | Follow up to #5706. Fixes #7509
* | Merge pull request #7511 from lesteve/fix-power-with-zero-exponentJaime2016-04-052-4/+8
|\ \ | | | | | | numpy.power(0, 0) should return 1
| * | numpy.power(0, 0) should return 1Loïc Estève2016-04-052-4/+8
|/ /
* | Merge pull request #7505 from ahaldane/fixup_7382Charles Harris2016-04-041-1/+2
|\ \ | | | | | | MAIN: fix to #7382, make scl in np.average writeable
| * | MAIN: fix to #7382, make scl in np.average writeableAllan Haldane2016-04-041-1/+2
| | |
* | | Merge pull request #7508 from endolith/vectorizeCharles Harris2016-04-042-0/+8
|\ \ \ | | | | | | | | DOC: link frompyfunc and vectorize
| * | | DOC: link frompyfunc and vectorizeendolith2016-04-042-0/+8
| | | |
* | | | Merge pull request #7504 from ahaldane/keepdims_doc_arrCharles Harris2016-04-041-8/+8
|\ \ \ \ | |/ / / |/| | | DOC: remove "arr" from keepdims docstrings
| * | | DOC: remove "arr" from keepdims docstringsAllan Haldane2016-04-041-8/+8
| |/ / | | | | | | | | | [ci skip]
* | | Merge pull request #5706 from ahaldane/ma_methods_argsseberg2016-04-043-354/+352
|\ \ \ | | | | | | | | ENH: make some masked array methods behave more like ndarray methods
| * | | TST: Unit tests for new kwd args in MA methodsAllan Haldane2016-04-041-2/+90
| | | |
| * | | ENH: update MA average, medianAllan Haldane2016-04-041-88/+61
| | | |
| * | | ENH: add extra kwargs and update doc of many MA methodsAllan Haldane2016-04-041-264/+201
| |/ / | | | | | | | | | | | | Updated any, all, sum, prod, cumsum, cumprod, min, max, argmin, argmax, mean, var
* | | Merge pull request #7507 from charris/remove-nose-importNathaniel J. Smith2016-04-041-12/+25
|\ \ \ | | | | | | | | MAINT: Remove nose.SkipTest import.
| * | | STY: PEP8, two blank lines between top level function definitions.Charles Harris2016-04-041-1/+22
| | | |
| * | | MAINT: Remove nose.SkipTest import.Charles Harris2016-04-041-11/+3
|/ / / | | | | | | | | | | | | This was only needed for Python 2.6 as it is available from unittest in later Python versions.
* | | Merge pull request #7406 from lesteve/memmap-ufunc-return-ndarrayahaldane2016-04-043-1/+76
|\ \ \ | |/ / |/| | ENH ufunc called on memmap return a ndarray
| * | FIX ufunc called on memmap return a ndarrayLoïc Estève2016-04-043-1/+76
| | | | | | | | | | | | | | | | | | | | | Special case for reduction functions (e.g. np.sum with axis=None) that return a numpy scalar. Keep original memmap subclasses behavior to be on the safe side.
* | | Merge pull request #7496 from ewmoore/int_array_powerJaime2016-04-032-3/+28
|\ \ \ | | | | | | | | BUG: don't use pow for integer power ufunc loops.
| * | | BUG: don't use pow for integer power ufunc loops.Eric Moore2016-03-312-3/+28
| | | | | | | | | | | | | | | | Fixes gh-7405.