summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Change 1.14.1 reference to 1.14.3release_walkthrough_1.14.3notesCharles Harris2018-05-041-1/+1
| | | [ci skip]
* DOC: release walkthrough updates from 1.14.3Allan Haldane2018-04-291-36/+72
|
* Merge pull request #10986 from mhvk/ma-move-out-matrix-testsEric Wieser2018-04-286-166/+249
|\ | | | | MAINT: move all masked array matrix tests to matrixlib.
| * MAINT: move all masked array matrix tests to matrixlib.Marten van Kerkwijk2018-04-276-166/+249
| | | | | | | | | | | | Further progress in isolating matrix in preparation of its deprecation. There is one place left with an explicit reference to matrix (in MaskedArray.count), which is to be solved later.
* | Merge pull request #10996 from adeak/docfix-stringio-unicodeJulian Taylor2018-04-272-7/+7
|\ \ | | | | | | DOC: Make doc examples using StringIO python2-3 compatible
| * | DOC: Make doc examples using StringIO python2-3 compatibleAndras Deak2018-04-272-7/+7
| | |
* | | Merge pull request #10949 from mattip/doc-nditerAllan Haldane2018-04-277-36/+68
|\ \ \ | |/ / |/| | DOC: cleanup documentation, continuation of nditer PR #9998
| * | Merge branch 'master' into doc-nditerCharles Harris2018-04-2415-26/+363
| |\ \
| * | | DOC: cleanup documentation, continuation of nditer PR #9998mattip2018-04-237-37/+69
| | | |
* | | | Merge pull request #10980 from mattip/masterCharles Harris2018-04-272-3/+5
|\ \ \ \ | | | | | | | | | | DOC: link to governance, convert external link to internal
| * | | | DOC: link to governance, convert external link to internalmattip2018-04-272-3/+5
| | | | |
* | | | | Merge pull request #10984 from madphysicist/pytest-gitignoreEric Wieser2018-04-261-0/+4
|\ \ \ \ \ | | | | | | | | | | | | MAINT: Added pytest cache folder to .gitignore
| * | | | | MAINT: Added pytest cache folder to .gitignoreJoseph Fox-Rabinovitz2018-04-261-0/+4
| | |_|_|/ | |/| | | | | | | | | | | | | [ci skip] [skip ci]
* | | | | DOC: Fix incorrect function name in format_float_positional example (#10987)Mike Toews2018-04-261-1/+1
|/ / / / | | | | | | | | The result was correct
* | | | Merge pull request #10919 from eric-wieser/__array_wrap__-non-None-outputsMarten van Kerkwijk2018-04-262-145/+262
|\ \ \ \ | | | | | | | | | | BUG: Pass non-None outputs to __array_prepare__ and __array_wrap__
| * | | | BUG: Calling convention of ufunc.__call__ should not affect ↵Eric Wieser2018-04-222-145/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __array_prepare__ or __array_wrap__ arguments This fixes gh-10450. The effect here is that all of these will pass `args=(in1, in2)` to `__array_prepare__` and `__array_wrap__`: * `ufunc(in1, in2)` - unchanged * `ufunc(in1, in2, None)` - previously: * prepare: `(in1, in2, None)` * wrap: `(in1, in2, None)` * `ufunc(in1, in2, out=None)` - previously: * prepare: `(in1, in2, None)` * `ufunc(in1, in2, out=(None,))` - previously * prepare: `(in1, in2, (None,))` Whereas these will pass `args=(in1, in2, out)`; * `ufunc(in1, in2, out)` - unchanged * `ufunc(in1, in2, out=out)` - previously * wrap: `(in1, in2)` * `ufunc(in1, in2, out=(out,))` - previously * prepare: not called on out at all! * wrap: `(in1, in2)`
* | | | | Merge pull request #10635 from hameerabbasi/ufunc-reduce-identityMarten van Kerkwijk2018-04-268-41/+214
|\ \ \ \ \ | | | | | | | | | | | | ENH: Implement initial kwarg for ufunc.add.reduce
| * | | | | ENH: Implement initial kwarg for ufunc.add.reduceHameer Abbasi2018-04-248-41/+214
| | | | | |
* | | | | | Merge pull request #10953 from tylerjereddy/remove_extraneous_tuple_checksEric Wieser2018-04-261-18/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: address extraneous shape tuple checks in descriptor.c
| * | | | | | MAINT: addressed extraneous shape tuple checks in descriptor.cTyler Reddy2018-04-251-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * C source comments flag two extraneous checks for the object type of self->subarray->shape in descriptor.c * pertinent code has been adjusted to assert the presence of the tuple object where needed & remove a fallback return call along with an extraneous casting
* | | | | | | Merge pull request #10871 from eric-wieser/histogramdd-emptyCharles Harris2018-04-251-4/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | MAINT: Remove unnecessary special case in np.histogramdd for N == 0
| * | | | | | | MAINT: Remove unnecessary special case for N == 0Eric Wieser2018-04-101-4/+0
| | | | | | | |
* | | | | | | | Merge pull request #10911 from toslunar/fix-10899-einsum-float16Charles Harris2018-04-252-3/+13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BUG: Fix casting between npy_half and float in einsum
| * | | | | | | | add testsToshiki Kataoka2018-04-171-0/+10
| | | | | | | | |
| * | | | | | | | BUG: Fix casting between npy_half and float in einsumToshiki Kataoka2018-04-161-3/+3
| | | | | | | | |
* | | | | | | | | Merge pull request #10971 from eric-wieser/_array_from_buffer_3118Charles Harris2018-04-251-12/+8
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | MAINT: Remove workaround for gh-10891
| * | | | | | | | | MAINT: Remove workaround for gh-10891Eric Wieser2018-04-251-12/+8
| | |_|_|_|_|/ / / | |/| | | | | | |
* | | | | | | | | Merge pull request #10973 from mhvk/advice-against-matrixCharles Harris2018-04-253-69/+46
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | DOC: advise against use of matrix.
| * | | | | | | | DOC: advise against use of matrix.Marten van Kerkwijk2018-04-253-69/+46
|/ / / / / / / /
* | | | | | | | Merge pull request #10883 from hameerabbasi/nb-doc-fixCharles Harris2018-04-241-10/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | DOC: Fix negative binomial documentation.
| * | | | | | | | DOC: Fix negative binomial documentation.Hameer Abbasi2018-04-201-10/+8
| | | | | | | | |
* | | | | | | | | Merge pull request #10882 from eric-wieser/_array_from_buffer_3118Charles Harris2018-04-242-43/+78
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | BUG: have _array_from_buffer_3118 correctly handle errors
| * | | | | | | | TST: Work around memory leak in ctypes to prevent another test failingEric Wieser2018-04-201-4/+12
| | | | | | | | |
| * | | | | | | | BUG: have _array_from_buffer_3118 correctly handle errorsEric Wieser2018-04-122-43/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes gh-6741 If an object claims to support the PEP3118 buffer protocol, then any mistakes in the implementation should be raised as errors, rather than falling back on other approaches. This has some behavior changes: * np.array(mem_view_33d) now gives a more useful error message than "memoryview: unsupported format <B" * np.array(ctypes_pointer) now errors rather than creating an object array containing a single pointer Also adds support for 32-dimensional buffers, where previously the max was 31-dimensional.
* | | | | | | | | Merge pull request #10824 from mattip/fix-PyArray_DeprecateWritebackIfCopyCharles Harris2018-04-244-19/+69
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | BUG: test, fix PyArray_DiscardWritebackIfCopy refcount issue and docu…
| * | | | | | | | | STY: Fix long line.Charles Harris2018-04-241-1/+2
| | | | | | | | | |
| * | | | | | | | | fix from reviewmattip2018-04-212-15/+17
| | | | | | | | | |
| * | | | | | | | | BUG: test, fix PyArray_DiscardWritebackIfCopy refcount issue and documentmattip2018-04-214-13/+60
| | |_|_|_|_|_|/ / | |/| | | | | | |
* | | | | | | | | Merge pull request #10967 from mattip/masterCharles Harris2018-04-241-0/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | DOC: add quantile, nanquantile to toc
| * | | | | | | | | DOC: add quantile, nanquantile to tocmattip2018-04-241-0/+2
| | |_|_|_|_|_|/ / | |/| | | | | | |
* | | | | | | | | Merge pull request #10946 from ahaldane/fix_style_argCharles Harris2018-04-242-0/+5
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | BUG: 'style' arg to array2string broken in legacy mode
| * | | | | | | | BUG: 'style' arg to array2string broken in legacy modeAllan Haldane2018-04-212-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #10934
* | | | | | | | | Merge pull request #10199 from chunweiyuan/quantileStephan Hoyer2018-04-235-4/+284
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | ENH: Quantile
| * | | | | | | | ENH: Adding np.quantile() and np.nanquantile(). #10199Chun-Wei Yuan2018-04-165-4/+284
| | | | | | | | |
* | | | | | | | | MAINT, DOC: Fix typos (#10958)Nicholas Nadeau, P.Eng., AVS2018-04-233-3/+3
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed doc typo * fixed lib typos * fixed lapack_lite typos * Revert "fixed lapack_lite typos" This reverts commit e7dada860cb73af190234402508ab79965ecd079.
* | | | | | | | Merge pull request #10951 from mattip/nditer-close-fixesAllan Haldane2018-04-234-40/+64
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BUG: it.close() disallows access to iterator, fixes #10950
| * | | | | | | | fixes from reviewmattip2018-04-221-20/+16
| | | | | | | | |
| * | | | | | | | emphasis accessing `it.operands` only on open iteratormattip2018-04-222-18/+35
| | | | | | | | |
| * | | | | | | | BUG: it.close() disallows access to iterator, fixes #10950mattip2018-04-222-17/+28
| | |_|/ / / / / | |/| | | | | |
* | | | | | | | Merge pull request #10891 from eric-wieser/assert-no-cyclesCharles Harris2018-04-214-14/+167
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | TST: Extract a helper function to test for reference cycles