summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | BUG: distutils: use AddDllDirectory where availablexoviat2017-12-171-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should reduce some DLL hell scenarios, namely scipy/scipy#8064. partial credits to @carlkl
* | | | | | | | | | Merge pull request #10292 from eric-wieser/no-change-masked-shapeCharles Harris2018-01-012-0/+16
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: Masked singleton can be reshaped to be non-scalar
| * | | | | | | | | | BUG: Masked singleton can be reshaped to be non-scalarEric Wieser2018-01-012-0/+16
| | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible this is the cause of gh-10270, where it seems something is wrong with the shape
* | | | | | | | | | Merge pull request #10293 from charris/fix-mem_overlap-sign-compareCharles Harris2018-01-011-10/+12
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | MAINT: Fix sign-compare warnings in mem_overlap.c.
| * | | | | | | | | | MAINT: Fix sign-compare warnings in mem_overlap.c.Charles Harris2017-12-291-10/+12
| |/ / / / / / / / /
* | | | | | | | | | Merge pull request #10241 from eric-wieser/no-repeated-percentile-checksCharles Harris2018-01-012-34/+53
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | MAINT: Avoid repeated validation of percentiles in nanpercentile
| * | | | | | | | | MAINT: Avoid repeated validation of percentiles in nanpercentileEric Wieser2017-12-182-34/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, this would check the percentiles were 0 <= q <= 100 on every single slice of non-reduction axes. This also pulls the division by 100 to the top level, which makes things clearer, and also reduces the size of the stack trace
* | | | | | | | | | Merge pull request #10298 from eric-wieser/digitize-docsCharles Harris2017-12-312-8/+34
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | DOC: Explain np.digitize and np.searchsorted more clearly
| * | | | | | | | | DOC: Improve docs for searchsortedEric Wieser2017-12-311-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also compare to the C++ functions with the same purpose.
| * | | | | | | | | DOC: Explain np.digitize more clearlyEric Wieser2017-12-311-8/+21
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show the four modes in a table for clarity Compare to searchsorted [ci-skip]
* | | | | | | | | Merge pull request #10226 from xoviat/system-info-locationCharles Harris2017-12-302-11/+21
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | BUG: distutils: use correct top-level package name
| * | | | | | | | | BUG: distutils: use correct top-level package namexoviat2017-12-242-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here, we align the extra-dll name to the one that auditwheel uses, and we handle the case where 1) there is more than one root package and 2) the root package name is different than the distribution name
* | | | | | | | | | Merge pull request #10287 from eric-wieser/ptp-emptyCharles Harris2017-12-306-36/+66
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | ENH: Allow ptp to take an axis tuple and keepdims
| * | | | | | | | | | DOC: Fix copy-paste mistakes in keepdims docstringsEric Wieser2017-12-281-10/+10
| | | | | | | | | | |
| * | | | | | | | | | ENH: Allow ptp to take an axis tuple and keepdimsEric Wieser2017-12-286-27/+57
| | |/ / / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #10286 from skrah/memory_leakCharles Harris2017-12-301-1/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: Fix memory leak (#10157).
| * | | | | | | | | | Check return value.Stefan Krah2017-12-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - tp_doc can handle NULL, but CPython compiled --with-pydebug aborts on non-NULL returns after an exception has been set.
| * | | | | | | | | | BUG: Fix memory leak (#10157).Stefan Krah2017-12-271-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Documentation and misc. typosluzpaz2017-12-303-3/+3
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | Found via `codespell`
* | | | | | | | | | Merge pull request #10128 from xoviat/system-info-librariesCharles Harris2017-12-271-0/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: Prefix library names with `lib` on windows.
| * | | | | | | | | | BUG: distutils: prefix library namexoviat2017-12-171-0/+2
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In linux and particulary MinGW on windows, library names may be prefixed with "lib." However, if the library name is prefixed with "lib" on MSVC or ABI-equivalent (clang/intel), the prefix should not be excluded from the library name. This caused system_info to find "libopenblas" or "libsuitesparse" but then add "openblas" to the library names, which is of course problematic because MSVC would not look for "libopenblas" but rather "openblas."
* | | | | | | | | | Merge pull request #10284 from eric-wieser/tidy-gen-mathCharles Harris2017-12-271-48/+51
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | MAINT/BUG: Tidy gen_umath
| * | | | | | | | | | BUG: Remove broken divmod O->OO loop until it is fixedEric Wieser2017-12-271-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A function that produces the wrong results is worse than no function at all See gh-9730
| * | | | | | | | | | MAINT: Reorder if branches to avoid condition duplicationEric Wieser2017-12-271-25/+24
| | | | | | | | | | |
| * | | | | | | | | | MAINT: Use textwrap.dedent for readabilityEric Wieser2017-12-271-23/+26
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #10282 from eric-wieser/_search_sorted_histogramCharles Harris2017-12-271-6/+16
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | MAINT: Extract helper function for last-bound-inclusive search_sorted
| * | | | | | | | | | MAINT: Extract helper function for last-bound-inclusive search_sortedEric Wieser2017-12-271-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also avoids `r_`, and construction of arrays from lists
* | | | | | | | | | | MAINT: Fallback on the default sequence multiplication behaviorEric Wieser2017-12-272-30/+33
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give a better error message for sequence multiplication As a result, this allows bool_ * Sequence, but with a deprecation warning Closes gh-9234 Closes gh-10279
* | | | | | | | | | DOC: add warning to isclose function (#10214)xoviat2017-12-261-3/+20
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: add warning to isclose function The default absolute tolerance for isclose can result in misleading results when the numbers being compared are much less than one. See gh-10161 for discussion. * DOC: compare numpy.isclose to math.isclose function. * DOC: somewhat clarify the warning for the isclose function * DOC: clarify notes for isclose function * DOC: clarify that atol should be reduced for small numbers * DOC: update based on feedback * DOC: update based on feedback [skip-ci]
* | | | | | | | | Merge pull request #10266 from xoviat/distutils-localeCharles Harris2017-12-261-1/+17
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | BUG: distutils: fix locale decoding errors
| * | | | | | | | | BUG: distutils: fix decoding errorsxoviat2017-12-251-1/+17
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #10278 from eric-wieser/exotic-histogram-dtypeCharles Harris2017-12-262-9/+36
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | ENH: Add support for datetimes to histograms
| * | | | | | | | | ENH: Add support for datetimes to histogramsEric Wieser2017-12-262-9/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently only supported for explicit bins
* | | | | | | | | | Merge pull request #10251 from VictorRodriguez/developCharles Harris2017-12-251-0/+199
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | ENH: Enable AVX2/AVX512 support to numpy
| * | | | | | | | | ENH: Enable AVX2/AVX512 support to numpy #10251Victor Rodriguez2017-12-231-0/+199
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables AVX2/AVX-512F instructions and distuils flags to maximise the use of IA technology such as Haswell and Skylake platformns on math functions of numpy Signed-off-by: Arjan van de Ven arjan@linux.intel.com Signed-off-by: William Douglas william.douglas@intel.com Signed-off-by: Victor Rodriguez victor.rodriguez.bahena@intel.com
* | | | | | | | | Merge pull request #10257 from mattip/fix-PR9639-2Charles Harris2017-12-251-14/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | BUG: duplicate message print if warning raises an exception
| * | | | | | | | | BUG: fix duplicate message printmattip2017-12-221-14/+2
| | | | | | | | | |
* | | | | | | | | | Merge pull request #10271 from eric-wieser/histogram-range-explicit-edgesCharles Harris2017-12-252-2/+29
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: Allow nan values in the data when the bins are explicit
| * | | | | | | | | | BUG: Allow nan values in the data when the bins are explicitEric Wieser2017-12-242-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes gh-7503 Closes gh-8984
* | | | | | | | | | | Merge pull request #10255 from charris/fix-simd-loop-warningsCharles Harris2017-12-253-48/+53
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | MAINT: Fix loop and simd sign-compare warnings.
| * | | | | | | | | | MAINT: Fix loop and simd sign-compare warnings.Charles Harris2017-12-253-48/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gcc sign-compare warning is enabled in Python 3.5+ and causes errors in the wheel builds.
* | | | | | | | | | | Merge pull request #10268 from eric-wieser/fix-gh-7864Charles Harris2017-12-242-1/+12
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | BUG: Fix misleading error when coercing to array
| * | | | | | | | | | | BUG: Fix misleading error when coercing to arrayEric Wieser2017-12-242-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes gh-7864
* | | | | | | | | | | | Merge pull request #10269 from eric-wieser/add-_histogram_bin_edgesCharles Harris2017-12-241-68/+91
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: extract private helper function to compute histogram bin edges
| * | | | | | | | | | | | MAINT: extract private helper function to compute histogram bin edgesEric Wieser2017-12-241-68/+91
| |/ / / / / / / / / / /
* | | | | | | | | | | | MAINT: repair deprecated yield testsxoviat2017-12-233-40/+40
| |_|_|_|/ / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #10260 from xoviat/add-pytest-supportCharles Harris2017-12-2216-13/+3519
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ENH: Add pytest support
| * | | | | | | | | | | DEP: restore noseclassesxoviat2017-12-221-0/+5
| | | | | | | | | | | |
| * | | | | | | | | | | ENH: do backward compatibility correctlyxoviat2017-12-224-12/+14
| | | | | | | | | | | |
| * | | | | | | | | | | MAINT: Fix nose features to work on pytestxoviat2017-12-222-0/+22
| | | | | | | | | | | |