| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fixups to docstring, and disallow non-scalars as the distance args to
np.gradient.
Fixes #7548, fixes #6847
|
|\
| |
| | |
DOC: clarify purpose of Attributes section
|
|/
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Fix a false positive OverflowError in Python 3.x when value above 0x7…
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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 ...
|
|\
| |
| | |
MAINT: use manylinux1 wheel for cython
|
|/ |
|
|\
| |
| | |
Use PyMem_RawMalloc on Python 3.4 and newer
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
BUG: allow graceful recovery for no Liux compiler
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
MAINT: Always use PyCapsule instead of PyCObject in mtrand.pyx
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ /
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
MAINT: Update setup.py to reflect supported python versions.
|
|/ /
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
BUG: Floating exception with invalid axis in np.lexsort
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
DOC: Removed an extra `:const:`
|
|/ / |
|
|\ \
| | |
| | | |
Fixed iteration over additional bad commands
|
| | | |
|
|\ \ \
| | | |
| | | | |
Added pathlib support for several functions
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
BUG: Extend glibc complex trig functions blacklist to glibc < 2.18.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
The library complex trig functions are inaccurate also in glibc
versions 2.16 and 2.17, so extend the blacklist.
Closes #7517.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
DOC: rephrase writeup of memmap changes
|
|/ /
| |
| |
| | |
Fix a little grammatical error and expand the text on mmap changes.
|
|\ \
| | |
| | | |
BUG: MaskedArray.count treats negative axes incorrectly
|
|/ /
| |
| |
| | |
Follow up to #5706. Fixes #7509
|
|\ \
| | |
| | | |
numpy.power(0, 0) should return 1
|
|/ / |
|
|\ \
| | |
| | | |
MAIN: fix to #7382, make scl in np.average writeable
|
| | | |
|
|\ \ \
| | | |
| | | | |
DOC: link frompyfunc and vectorize
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
DOC: remove "arr" from keepdims docstrings
|
| |/ /
| | |
| | |
| | | |
[ci skip]
|
|\ \ \
| | | |
| | | | |
ENH: make some masked array methods behave more like ndarray methods
|
| | | | |
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
Updated any, all, sum, prod, cumsum, cumprod, min, max, argmin, argmax,
mean, var
|
|\ \ \
| | | |
| | | | |
MAINT: Remove nose.SkipTest import.
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
This was only needed for Python 2.6 as it is available from unittest in
later Python versions.
|
|\ \ \
| |/ /
|/| | |
ENH ufunc called on memmap return a ndarray
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | | |
BUG: don't use pow for integer power ufunc loops.
|
| | | |
| | | |
| | | |
| | | | |
Fixes gh-7405.
|