| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| | |
Backport 7735, BUG: fix issue on OS X with Python 3.x, npymath.ini not installed.
|
| |/
|
|
|
| |
Closes gh-7707. Happened for `pip install .` or another location (including a
remote git repo).
|
| |\
| |
| | |
Backport 7723, Change mkl_info.dir_env_var from MKL to MKLROOT
|
| |/
|
|
| |
Reference: https://software.intel.com/en-us/node/528500
|
| |\
| |
| | |
Backport 7719, BUG: Fix segfaults in np.random.shuffle
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
np.random.shuffle will allocate a buffer based on the size of the first
element of an array of strings. If the first element is smaller than
another in the array this buffer will overflow, causing a segfault
when garbage is collected.
Additionally if the array contains objects then one would be left
in the buffer and have it's refcount erroniously decrimented on
function exit, causing that object to be deallocated too early.
To fix this we change the buffer to be an array of int8 of the
the size of the array's dtype, which sidesteps both issues.
Fixes #7710
|
| |\
| |
| | |
Backport 7681, DOC: Update 1.11.1 release notes.
|
| |/
|
|
| |
[ci skip]
|
| |\
| |
| | |
Backport 7678, BUG: Fix np.clip bug NaN handling for Visual Studio 2015
|
| | | |
|
| |/
|
|
| |
by disabling loop vectorization and add test.
|
| |\
| |
| | |
Backport 7673, DOC: Create Numpy 1.11.1 release notes.
|
| | |
| |
| |
| | |
[ci skip]
|
| |\ \
| |/
|/| |
Backport 7675, BUG: fix handling of right edge of final bin.
|
| |/ |
|
| |\
| |
| | |
Backport 7669, BUG: boolean assignment no GIL release when transfer needs API
|
| | |
| |
| |
| |
| |
| |
| | |
This caused bugs when the iteration does not need the API, but
the data copy does.
closes gh-7666
|
| |\ \
| |/
|/| |
Backport 7667, BUG: correct initial index estimate in histogram.
|
| | | |
|
| | | |
|
| |\ \
| |/
|/| |
Backport 7658, BUG: fix incorrect printing of 1D masked arrays
|
| |/
|
|
|
|
|
|
|
|
| |
Ref #7621. #6748 added `np.ma.MaskedArray._print_width` which is used to cut
a masked array before printing it (to save memory and cpu time during the
conversion to the object dtype). But this doesn't work correctly for 1D arrays,
for which up to 1000 values can be printed before cutting the array.
So this commit adds a new class variable `_print_width_1d` to handle the 1D case
separately.
|
| |\
| |
| | |
Backport 7659, BUG: Temporary fix for str(mvoid) for object field types
|
| |/
|
|
|
|
|
|
|
| |
Fixes #7493, using a temporary hack, to be properly fixed later
(eg with #6053)
Printing a Masked-Void instance broke if the instance has a field of
Object dtype because assignment involving structured dtypes with objects
doesn't work. Fix is to use dtype-transfer code which avoid the bug.
|
| |\
| |
| | |
Backport 7655, BLD: Remove Intel compiler flag -xSSE4.2
|
| | |
| |
| |
| |
| |
| |
| | |
The consensus seems to be that hardcoding SSE4.2 results in poor code
for architectures lacking the feature.
Closes #7287.
|
| |\ \
| |/
|/| |
Backport 7635, BUG: ma.median of 1d array should return a scalar
|
| | |
| |
| |
| | |
Recommended type for nd-indexing is a tuple. See #4434
|
| |/
|
|
|
|
| |
Fixes #5969.
Performance fix #4760 had caused wrong shaped results in the 1D case.
This fix restores the original 1D behavior.
|
| |\
| |
| | |
Backport 7634, BLD: correct C compiler customization in system_info.py
|
| |/ |
|
| |\
| |
| | |
Backport 7587, BUG: linalg.norm(): Don't convert object arrays to float
|
| | | |
|
| |/
|
|
| |
This fixes #7575 (Regression in linalg.norm() using dtype=object).
|
| |\
| |
| | |
Backport 7586, Make np.ma.take works on scalars
|
| | |
| |
| |
| |
| |
| | |
By promoting and demoting between scalars and arrays where appropriate
See #7585
|
| |/
|
|
| |
See #7585
|
| |\
| |
| | |
Backport 7584, BLD: fix configparser.InterpolationSyntaxError
|
| |/
|
|
| |
Closes #7572 inability to install in virtualenvs with percent in their path.
|
| |\
| |
| | |
Backport 7568, Fix OverflowError in Python 3.x. in swig interface.
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The error occurs When values above 0x7FFFFFF 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 ...
|
| |\
| |
| | |
Backport 7358, BUG: constant padding expected wrong type in constant_values
|
| | |
| |
| |
| |
| | |
Constant padding on 4 sides of a 2d array expected a numpy ndarray, and not a ndarray like (tuple, list, ...)
Detailed description is in the issue #7353
|
| |/
|
|
| |
This test exposes padding bug described in the issue #7353
|
| |\
| |
| | |
Backport 7549, BUG: allow graceful recovery for no 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.
|
| |\
| |
| | |
Backport 7518, 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.
|
| |\
| |
| | |
Backport 7529, BUG: Floating exception with invalid axis in np.lexsort
|