summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11257 from mhvk/ufunc-parsing-no-borrowed-refsMarten van Kerkwijk2018-06-062-13/+33
|\ | | | | BUG: ensure extobj and axes have their own references.
| * BUG: ensure extobj and axes have their own references.Marten van Kerkwijk2018-06-062-13/+33
| |
* | Merge pull request #11167 from ahaldane/dragon4_float128_part1Charles Harris2018-06-053-541/+839
|\ \ | | | | | | MAINT: Cleanup dragon4 code in various ways
| * | MAINT: Add comment in dragon4 code.Charles Harris2018-06-051-0/+1
| | | | | | | | | [ci skip]
| * | MAINT: replace static BigInts in dragon4 by dummy managerAllan Haldane2018-06-041-127/+196
| | |
| * | MAINT: Reorganize Dragon4 code to clarify float formatsAllan Haldane2018-06-043-466/+694
| |/ | | | | | | | | | | | | | | Define the float format macros NPY_*_BINFMT. Reorg formatting functions to refer to specific formats. Make BigInt variables static to avoid using up stack space. Dragon4 now takes a BigInt mantissa, not uint64. Define Dragon4_Options struct to pass options.
* | Merge pull request #11249 from eric-wieser/0d-complex-contiguousCharles Harris2018-06-052-1/+16
|\ \ | | | | | | BUG: Remove errant flag meddling in .real and .imag
| * | BUG: Remove errant flag meddling in .real and .imagEric Wieser2018-06-052-1/+16
| | | | | | | | | | | | | | | | | | Fixes #11245 PyArray_NewFromDescr sets the flags just fine by itself.
* | | Merge pull request #11247 from eric-wieser/simplify-incref-handlingMatti Picus2018-06-051-8/+4
|\ \ \ | | | | | | | | MAINT/BUG: Remove out-of-band reference count in PyArray_Newshape, fix memory leak
| * | | BUG: Prevent memory leak if PyArray_NewCopy failsEric Wieser2018-06-051-1/+1
| | | |
| * | | MAINT: Remove out-of-band reference count in PyArray_NewshapeEric Wieser2018-06-041-8/+4
| |/ /
* | | MAINT: Don't update the flags a second timeEric Wieser2018-06-045-30/+0
|/ / | | | | | | `PyArray_UpdateFlags(view, NPY_ARRAY_UPDATE_ALL);` is already called within PyArray_NewFromDescr_int
* | Merge pull request #11239 from eric-wieser/expose-global-descrsCharles Harris2018-06-046-53/+59
|\ \ | | | | | | MAINT: Use PyArray_NewFromDescr where possible, remove unused definitions
| * | MAINT: Use PyArray_NewFromDescr in place of PyArray_New for known numeric typesEric Wieser2018-06-035-49/+59
| | | | | | | | | | | | This makes it a little easier to convert these calls to PyArray_NewFromDescr_int if new parameters are needed in future.
| * | MAINT: Remove unused definitionsEric Wieser2018-06-031-4/+0
| | |
* | | Merge pull request #11238 from eric-wieser/deduplicate-update-flagsCharles Harris2018-06-045-14/+0
|\ \ \ | | | | | | | | MAINT: Don't update the flags a second time
| * | | MAINT: Don't update the flags a second timeEric Wieser2018-06-035-14/+0
| |/ / | | | | | | | | | `PyArray_UpdateFlags(view, NPY_ARRAY_UPDATE_ALL);` is already called within PyArray_NewFromDescr_int
* | | Merge pull request #11240 from eric-wieser/remove-py2.6-warningsCharles Harris2018-06-041-92/+1
|\ \ \ | |_|/ |/| | MAINT: Remove dead code backporting py2.6 warnings
| * | BUG: Import WarningMessage from warnings.Charles Harris2018-06-041-0/+1
| | |
| * | MAINT: Remove dead code backporting py2.6 warningsEric Wieser2018-06-041-92/+0
| |/ | | | | | | Since this is now in `np.testing._private`, it's no longer usable by the outside world anyway
* | BUG: Prevent underflow causing empty result in arange (#10263)Licht Takeuchi2018-06-032-7/+97
|/ | | | | When given a step size larger than the difference between `start` and `stop`, arange would sometimes give `[]` and sometimes `[start]`, depending on the relative magnitudes. Now the result is always `[start]`, even if the step is infinite, or underflow occurs. Fixes #10206
* Merge pull request #11223 from pgunn/memmap_promote_shape_uint64Charles Harris2018-06-031-2/+1
|\ | | | | MAINT: Forcibly promote shape to uint64 in numpy.memmap.
| * reviewPat Gunn2018-06-031-1/+1
| |
| * Revise further as per peer reviewPat Gunn2018-06-031-2/+1
| |
| * Revise further as per peer reviewPat Gunn2018-06-031-2/+1
| |
| * Responding to peer review, change to intpPat Gunn2018-06-031-2/+2
| |
| * In numpy.memmap forcibly promote shape to uint64Pat Gunn2018-06-011-1/+2
| |
* | Merge pull request #11209 from Peque/doctestCharles Harris2018-06-031-3/+2
|\ \ | | | | | | DOC: Fix doctest formatting in `rot90()` examples
| * | DOC: Fix doctest formatting in `rot90()` examplesMiguel Sánchez de León Peque2018-06-011-3/+2
| | |
* | | Merge pull request #11089 from ahaldane/speedup_build_all_filesCharles Harris2018-06-032-4/+9
|\ \ \ | | | | | | | | BLD: cleanup _configtest.o.d during build
| * | | BLD: cleanup _configtest.o.d during buildAllan Haldane2018-06-012-4/+9
| | | |
* | | | Merge pull request #11231 from mhvk/ufunc-get-arg-tuple-short-circuitEric Wieser2018-06-021-0/+4
|\ \ \ \ | | | | | | | | | | MAINT: ensure we do not create unnecessary tuples for outputs
| * | | | MAINT: ensure we do not create unnecessary tuples for outputsMarten van Kerkwijk2018-06-021-0/+4
| | |/ / | |/| | | | | | | | | | Small thing missed in gh-10919.
* | | | Merge pull request #11191 from ahaldane/remove_darwin_float128Charles Harris2018-06-025-47/+7
|\ \ \ \ | | | | | | | | | | MAINT: remove darwin hardcoded LDOUBLE detection
| * | | | MAINT: remove darwin hardcoded LDOUBLE detectionAllan Haldane2018-05-305-47/+7
| | | | |
* | | | | Merge pull request #11218 from rsokl/masterCharles Harris2018-06-012-4/+12
|\ \ \ \ \ | | | | | | | | | | | | BUG: Fixes einsum broadcasting bug when optimize=True
| * | | | | zero-arrays to non-zero; make test more robustRyan Soklaski2018-06-011-4/+4
| | | | | |
| * | | | | STY: Remove trailing whitespace.Charles Harris2018-05-311-2/+2
| | | | | |
| * | | | | einsum bug fix: check array shapes, not array elements, for singleton dimensionsRyan Soklaski2018-05-311-1/+1
| | | | | |
| * | | | | update tests so that blas-compatible broadcasting bug raises errorRyan Soklaski2018-05-311-4/+12
| | |_|_|/ | |/| | |
* | | | | DOC: add existing recfunctions documentation to outputmattip2018-06-011-6/+7
|/ / / /
* | | | BUG: Added support for indices 26 <= i < 52 in C einsum (#11090)Juris Bogusevs2018-05-312-7/+28
| |/ / |/| |
* | | Merge pull request #11193 from mhvk/gufunc-sig-signature-override-bugEric Wieser2018-05-302-2/+5
|\ \ \ | | | | | | | | BUG: reference count/memory leak exposed by better testing
| * | | BUG: reference count exposed by better testingMarten van Kerkwijk2018-05-302-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Also for __array_ufunc__ overrides, sig and signature cannot be passed in both. This was incorrectly coded and slipped through as it was not tested.
* | | | DOC: sqrt can return 0Kimikazu Kato2018-05-301-1/+1
| | | |
* | | | Merge pull request #11200 from ahaldane/fix_genfromtxt_delimiter_encodingCharles Harris2018-05-302-0/+9
|\ \ \ \ | | | | | | | | | | BUG: delimiter/comments in genfromtxt should be encoded
| * | | | BUG: delimiter/comments in genfromtxt should be encodedAllan Haldane2018-05-302-0/+9
| |/ / / | | | | | | | | | | | | Fixes #11028
* | | | Merge pull request #11176 from mhvk/gufunc-keepdims-iter-allocMatti Picus2018-05-301-2/+2
|\ \ \ \ | | | | | | | | | | MAINT: avoid setting non-existing gufunc strides for keepdims=True.
| * | | | MAINT: avoid setting non-existing gufunc strides for keepdims=True.Marten van Kerkwijk2018-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Corrects an overzealous change from the fixed core dimensions to the ones expanded for keepdims=True.
* | | | | Merge pull request #11173 from mhvk/gufunc-avoid-wasting-time-writing-parserMatti Picus2018-05-301-14/+35
|\ \ \ \ \ | |_|/ / / |/| | | | MAINT: Ensure that parsing errors are passed on even in tests.