Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP, BUG: reorder operations for VS2015 | mattip | 2018-12-10 | 2 | -7/+7 |
| | |||||
* | Merge pull request #12494 from mattip/disallow-dgemm | Charles Harris | 2018-12-07 | 3 | -2/+38 |
|\ | | | | | BUG: test, fix matmul, dot for vector array with stride[i]=0 | ||||
| * | STY, TST: fix formatting and add tests for other dtypes, unaligned data | Charles Harris | 2018-12-07 | 2 | -3/+19 |
| | | |||||
| * | BUG: test, fix matmul, dot for vector array with stride[i]=0 | mattip | 2018-12-05 | 3 | -2/+22 |
| | | |||||
* | | Merge pull request #12388 from mhvk/linspace-allow-array | Charles Harris | 2018-12-06 | 2 | -44/+127 |
|\ \ | | | | | | | ENH: allow arrays for start and stop in {lin,log,geom}space | ||||
| * | | DOC: Note the version in which we start supporting array_like start, stop | Marten van Kerkwijk | 2018-12-06 | 1 | -6/+15 |
| | | | |||||
| * | | ENH: allow user choice of sample axis in {lin,log,geom}space. | Marten van Kerkwijk | 2018-12-05 | 2 | -19/+47 |
| | | | |||||
| * | | ENH: Allow {lin,log,geom}space start and stop to be arrays. | Marten van Kerkwijk | 2018-12-05 | 2 | -34/+82 |
| | | | |||||
| * | | TST,BUG: fix two tests that were setup incorrectly. | Marten van Kerkwijk | 2018-12-04 | 1 | -3/+1 |
| |/ | | | | | | | And which failed with the change to linspace. | ||||
* | | MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) ↵ | Roman Yurchak | 2018-12-06 | 17 | -38/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | (#12448) * Review F401,F841,F842 flake8 errors (unused variables, imports) * Review comments * More tests in test_installed_npymath_ini * Review comments | ||||
* | | BUG: Fix `/` that should be `//`. | Charles Harris | 2018-12-06 | 1 | -1/+1 |
| | | | | | | | | Seems this old style division was missed when going to Python3 compatibility. | ||||
* | | BUG: fix records.fromfile fails to read data >4 GB | cgohlke | 2018-12-05 | 1 | -2/+2 |
|/ | | | Use 64-bit integer accumulator for calculating the product of array shapes on 64-bit systems. Fixes #12442. | ||||
* | Merge pull request #12219 from mattip/matmul-as-ufunc2 | Eric Wieser | 2018-12-04 | 17 | -375/+793 |
|\ | | | | | ENH: make matmul into a ufunc | ||||
| * | DOC: add a comment detailing the output ufunc flag choices | mattip | 2018-12-03 | 1 | -0/+12 |
| | | |||||
| * | ENH: corrections and fixes from review | mattip | 2018-12-01 | 10 | -287/+242 |
| | | |||||
| * | ENH: make matmul into a ufunc | mattip | 2018-11-25 | 18 | -361/+812 |
| | | | | | | | | MAINT: fixes from review | ||||
* | | Merge pull request #12353 from mattip/check-threshold | Charles Harris | 2018-12-04 | 2 | -1/+10 |
|\ \ | | | | | | | BUG: test, fix for threshold='nan' | ||||
| * | | BUG: test, fix for threshold='nan' | mattip | 2018-12-01 | 2 | -1/+10 |
| | | | |||||
* | | | Merge pull request #12328 from mhvk/ndarray_array_function_allow_subclasses | Stephan Hoyer | 2018-12-02 | 3 | -45/+66 |
|\ \ \ | |/ / |/| | | MAINT: Allow subclasses in `ndarray.__array_function__`. | ||||
| * | | MAINT: Allow subclasses in ndarray.__array_function__. | Marten van Kerkwijk | 2018-12-02 | 3 | -45/+66 |
| | | | | | | | | | | | | The Liskov substitution principle suggests it should. | ||||
* | | | Merge pull request #12470 from shoyer/less-multiarray-indirection | Charles Harris | 2018-12-01 | 3 | -199/+163 |
|\ \ \ | | | | | | | | | MAINT: remove wrapper functions from numpy.core.multiarray | ||||
| * | | | STY: Restyle some multiline comments. [ci skip] | Charles Harris | 2018-12-01 | 1 | -2/+4 |
| | | | | |||||
| * | | | MAINT: reformat comment in C | Stephan Hoyer | 2018-12-01 | 1 | -2/+4 |
| | | | | |||||
| * | | | DOC: add docs_from_dispatcher to docstring | Stephan Hoyer | 2018-12-01 | 2 | -3/+7 |
| | | | | |||||
| * | | | MAINT: remove wrapper functions from numpy.core.multiarray | Stephan Hoyer | 2018-12-01 | 3 | -199/+155 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original motivation for the style of these wrapper functions, introduced in gh-12175, was to preserve introspection. But it turns out NumPy's functions defined in C don't support introspection anyways, so the extra wrapper functions are entirely pointless. This version reverts the additional wrapper functions, which put default arguments in two places and introduced slow-down due to the overhead of another function call. I've retained docstrings in multiarray.py, since it's definitely more readable to keep docstrings and dispatchers together rather than leaving docstrings in _add_newdocs.py. One bonus of this approach is that dispatcher functions have the same name as their implementations, so `np.concatenate(unknown=True)` gives an error message mentioning "concatenate" rather than "_concatenate_dispatcher": `TypeError: concatenate() got an unexpected keyword argument 'unknown'` | ||||
* | | | | Merge pull request #12471 from shoyer/linspace-overrides | Stephan Hoyer | 2018-12-01 | 1 | -5/+24 |
|\ \ \ \ | |_|/ / |/| | | | ENH: override support for np.linspace and friends | ||||
| * | | | ENH: override support for np.linspace and friends | Stephan Hoyer | 2018-12-01 | 1 | -5/+24 |
| |/ / | | | | | | | | | | Fixes gh-12379 | ||||
* | | | Merge pull request #12447 from ahaldane/unrevert_multifield_view | Charles Harris | 2018-12-01 | 5 | -133/+20 |
|\ \ \ | | | | | | | | | ENH: add back the multifield copy->view change | ||||
| * | | | ENH: add back the multifield copy->view change | Allan Haldane | 2018-11-26 | 5 | -133/+20 |
| | | | | | | | | | | | | | | | | | | | | Fixes #10409 Closes #11530 | ||||
* | | | | Merge pull request #12443 from rth/set-litteral | Eric Wieser | 2018-12-01 | 6 | -10/+10 |
|\ \ \ \ | | | | | | | | | | | MAINT Use set litterals | ||||
| * | | | | Address review comments | Roman Yurchak | 2018-11-24 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Use set litterals | Roman Yurchak | 2018-11-24 | 6 | -12/+12 |
| | | | | | |||||
* | | | | | MAINT: Use list and dict comprehension when possible (#12445) | Roman Yurchak | 2018-12-01 | 9 | -98/+34 |
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use list comprehension * More list comprehension migration * Revert key copying in dict * A few more fixes * More reverts * Use dict comprehension * Fix dict comprehension * Address review comments * More review comments * Fix for empty unpacking of zip(* * Revert zip(* unpacking altogether * Fix dict copying * More simplifications | ||||
* | | | | BUG: disallow setting flag to writeable if isinstance(a.base, (str, bytes)) | mattip | 2018-11-26 | 2 | -15/+40 |
| |_|/ |/| | | |||||
* | | | Merge pull request #12437 from mattip/refactor-datetime-metadata | Eric Wieser | 2018-11-25 | 1 | -61/+55 |
|\ \ \ | |_|/ |/| | | MAINT: refactor datetime.c_metadata creation | ||||
| * | | MAINT: refactor datetime.c_metadata creation | mattip | 2018-11-25 | 1 | -61/+55 |
| | | | |||||
* | | | Merge pull request #12419 from timfel/fix-fill-funcs | Charles Harris | 2018-11-24 | 2 | -9/+18 |
|\ \ \ | |_|/ |/| | | Fix PyArray_FillFunc function definitions | ||||
| * | | ENH: Fix PyArray_FillFunc definitions to return an int as per typedef | Tim Felgentreff | 2018-11-19 | 2 | -9/+18 |
| | | | |||||
* | | | Merge pull request #12439 from mattip/visible-to-invisible | Charles Harris | 2018-11-23 | 2 | -2/+9 |
|\ \ \ | | | | | | | | | BUG: test, fix NPY_VISIBILITY_HIDDEN on gcc, which becomes NPY_NO_EXPORT | ||||
| * | | | BUG: test, fix NPY_VISIBILITY_HIDDEN on gcc, which becomes NPY_NO_EXPORT | mattip | 2018-11-22 | 2 | -2/+9 |
| | |/ | |/| | |||||
* | | | BUG: don't override casting errors with matmul or inner | Stephan Hoyer | 2018-11-23 | 2 | -11/+19 |
| | | | |||||
* | | | BUG: don't override original errors when casting inside np.dot() fails | Stephan Hoyer | 2018-11-23 | 2 | -1/+13 |
|/ / | | | | | | | This makes things harder to debug. | ||||
* | | BUG/ENH: Fix use of ndpointer in return values | Eric Wieser | 2018-11-21 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | This: * fixes a regression in 1.15, where it became impossible to set the return value of a cdll function to an ndpointer. * removes ndpointer.__array_interface__, which was being ignored anyway in favor of the PEP3118 buffer protocol * adds `ndpointer.contents` to recover the lost functionality, while staying in line with the ctypes behavior * removes another instance of `descr`, which enables overlapping fields to be returned from C functions (such as unions). * Fixes a long-term bug where using ndpointer as a return type without specifying both type and dtype would produce an object array containing a single `ndpointer`. Now the ndpointer is returned directly. This relates to gh-12421, and likely fixes toinsson/pyrealsense#82 | ||||
* | | Merge pull request #12286 from mattip/no-api-warn | Charles Harris | 2018-11-19 | 1 | -0/+3 |
|\ \ | | | | | | | ENH: Do not emit compiler warning if forcing old API | ||||
| * | | ENH: do not emit compilation warning if using old API | mattip | 2018-11-14 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #12417 from eric-wieser/ctypes-bad-errors | Matti Picus | 2018-11-19 | 2 | -7/+10 |
|\ \ \ | |_|/ |/| | | BUG: Fix regression on np.dtype(ctypes.c_void_p) | ||||
| * | | BUG: Fix regression on np.dtype(ctypes.c_void_p) | Eric Wieser | 2018-11-19 | 2 | -3/+6 |
| | | | | | | | | | | | | | | | | | | Historically, this always returned np.uintp - we should continue to do so, even though other pointer types have never been supported Fixes gh-12416 | ||||
| * | | MAINT: rename helper functions for consistency | Eric Wieser | 2018-11-18 | 1 | -4/+4 |
| | | | |||||
* | | | Merge pull request #12414 from charris/fix-cversion | Eric Wieser | 2018-11-18 | 2 | -6/+6 |
|\ \ \ | |/ / |/| | | MAINT: Update cversion hash. | ||||
| * | | MAINT: Update cversion hash. | Charles Harris | 2018-11-18 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | A new function was added to the ufunc_funcs_api. Closes #12412. |