Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | DOC: Add missing types to C function docs (#17549) | Takanori H | 2020-10-13 | 4 | -86/+87 | |
| | | | `.. c:function::` expects its contents to be a valid C prototype, meaning the return types and arguments are all need types. | |||||
* | DOC: Fix Boolean types in C functions | takanori-pskq | 2020-10-10 | 2 | -9/+9 | |
| | ||||||
* | DOC: Fix the entries for members of structures | takanori-pskq | 2020-10-07 | 1 | -251/+251 | |
| | ||||||
* | Fix: Remove the link for `PyArrayMapIterObject` | takanori-pskq | 2020-10-06 | 1 | -3/+1 | |
| | ||||||
* | Fixup | takanori-pskq | 2020-10-06 | 1 | -2/+2 | |
| | ||||||
* | DOC: Add some entries for C types and macros | takanori-pskq | 2020-10-06 | 2 | -74/+113 | |
| | ||||||
* | DOC: Fix some references for macros | takanori-pskq | 2020-10-05 | 4 | -9/+18 | |
| | ||||||
* | DOC: Fix the references for macros | takanori-pskq | 2020-10-04 | 2 | -1/+13 | |
| | ||||||
* | DOC: Fix types including curly braces | takanori-pskq | 2020-08-13 | 5 | -12/+12 | |
| | ||||||
* | Merge pull request #16896 from takanori-pskq/i13114-5 | Matti Picus | 2020-07-31 | 7 | -178/+169 | |
|\ | | | | | DOC: Improve documentation of C code | |||||
| * | DOC: Fixup | takanori-pskq | 2020-07-25 | 2 | -14/+5 | |
| | | ||||||
| * | DOC: Fix the role of references (var -> macro) | takanori-pskq | 2020-07-25 | 7 | -163/+163 | |
| | | ||||||
| * | DOC: Remove links for C codes | takanori-pskq | 2020-07-18 | 1 | -3/+3 | |
| | | ||||||
* | | DOC: Fix the declarations of C fuctions (#16897) | Takanori H | 2020-07-31 | 1 | -2/+2 | |
|/ | | | * DOC: Fix the declarations of C fuctions | |||||
* | DOC: Add PyArray_ContiguousFromObject C docs (gh-16207) | Guilherme Leobas | 2020-05-18 | 1 | -3/+11 | |
| | | | | | | Add documentation for `PyArray_ContiguousFromObject` similar to the other macros wrapping `PyArray_FromAny` Fixes #16196 | |||||
* | DOC: Fix typos and cosmetic issues | Martin Michlmayr | 2020-05-17 | 1 | -1/+1 | |
| | ||||||
* | DOC: Add missing bracket (gh-16051) | Chunlin | 2020-04-25 | 1 | -1/+1 | |
| | | | Add missing closing brackets, script to generate the list in the PR gh-16051. | |||||
* | DOC: fix typo in C-API reference | Gabriel Gerlero | 2020-03-27 | 1 | -1/+1 | |
| | ||||||
* | MAINT: simplify code that assumes str/unicode and int/long are different ↵ | Eric Wieser | 2020-03-26 | 1 | -1/+1 | |
| | | | | | types (#15816) Cleanup from the dropping of python 2 | |||||
* | DOC: Fix coremath.rst to fix refguide_check (#15718) | Pierre de Buyl | 2020-03-06 | 1 | -1/+6 | |
| | | | | | * DOC: fix coremath.rst to fix refguide_check Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | |||||
* | Merge pull request #15427 from seberg/deprecate-unused-c-api | Matti Picus | 2020-02-02 | 2 | -72/+16 | |
|\ | | | | | DEP: Schedule unused C-API functions for removal/disabling | |||||
| * | DEP: Deprecate PyUFunc_GenericFunction public C-API function | Sebastian Berg | 2020-01-31 | 1 | -9/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function provides mainly the same API as PyObject_Call() with the exception of skipping ufunc overrides and output array wraps. It is fairly unwieldy to use, since ownership of all inputs and outputs is transferred, but otherwise it still uses args and kwargs as inputs. As such, no known usage exists and PyObject_Call seems a reasonable replacement for possible usage. Keeping it around means that we would may have to add tests or risk breaking this function when ufunc code is refactored. | |||||
| * | DEP: Schedule PyArray_GetArrayParamsFromObject for removal | Sebastian Berg | 2020-01-31 | 1 | -63/+6 | |
| | | | | | | | | | | | | | | | | | | | | The function has no known usage outside of NumPy. It is fairly complex to use due to how it behaves with scalars, and, at least with a given "flexible" dtype would require additional access to the private PyArray_AdaptFlexibleDType function. Removing the function from public API will simplify refactor work of the dtype and dimension recovery. | |||||
* | | MAINT: Const qualify UFunc inner loops (gh-15355) | Kai Striega | 2020-01-21 | 1 | -30/+32 | |
|/ | | | | | This PR const qualifies the dimension and strides arguments of PyUFuncGenericFunction. Const qualified arguments make it simpler to reason about the behaviour of these ufuncs and prevents accidental mutation. As the const is now required this PR also const qualifies calls to PyUFuncGenericFunction inside the NumPy source code. This closes #15252 | |||||
* | Merge pull request #15118 from mattip/cleanup-array-call | Sebastian Berg | 2020-01-16 | 1 | -11/+10 | |
|\ | | | | | API: remove undocumented use of __array__(dtype, context) | |||||
| * | MAINT: remove undocumented use of context in __array__(dtype, context) | mattip | 2020-01-16 | 1 | -11/+10 | |
| | | ||||||
* | | DEP: Deprecate `->f->fastclip` at registration time | Sebastian Berg | 2020-01-15 | 1 | -1/+11 | |
| | | | | | | | | | | This adds the additional deprecation of fastclip if it is set at registration time instead of only testing that it is never used. | |||||
* | | Merge pull request #14942 from seberg/clean-fasttake | Matti Picus | 2020-01-16 | 1 | -2/+10 | |
|\ \ | | | | | | | MAINT,API: ignore and NULL fasttake/fastputmask ArrFuncs slots | |||||
| * | | DEP: Actually deprecate fasttake and fastclipmask | Sebastian Berg | 2020-01-15 | 1 | -2/+10 | |
| |/ | ||||||
* | | DOC: fix typos | Brian Wignall | 2020-01-14 | 1 | -5/+5 | |
|/ | ||||||
* | MAINT: Improve const-correctness of shapes and strides | Eric Wieser | 2020-01-06 | 1 | -1/+1 | |
| | | | | | | Marking these arguments as const makes it easier to reason about these functions, and prevent accidental mutation. The C99 standard (6.2.5/26 "Types") guarantees that ABI compatibility is preserved here. | |||||
* | Fix typos, via a Levenshtein-style corrector | Brian Wignall | 2019-12-19 | 1 | -2/+2 | |
| | ||||||
* | API: Use `ResultType` in `PyArray_ConvertToCommonType` | Sebastian Berg | 2019-11-21 | 1 | -8/+12 | |
| | | | | | | | | | | | | | | | | | | This slightly modifies the behaviour of `np.choose` (practically a bug fix) and the public function itself. The function is not used within e.g. SciPy, so the small performance hit of this implementation is probably insignificant. The change should help clean up dtypes a bit, since the whole "scalar cast" logic is brittle and should be deprecated/removed, and this is probably one of the few places actually using it. The choose change means that: ``` np.choose([0], (1000, np.array([1], dtype=np.uint8))) ``` will actually return a value of 1000 (the dtype not being uint8). | |||||
* | DOC: convert `None` to bare None or ``None`` | mattip | 2019-10-15 | 1 | -1/+1 | |
| | ||||||
* | DOC: fix function argument definitions and add vertical space around macros | mattip | 2019-10-15 | 1 | -55/+68 | |
| | ||||||
* | DOC: Document the NPY_SCALARKIND values as C variables. | MSeifert04 | 2019-09-22 | 1 | -8/+15 | |
| | | | | | Currently the ":c:data:" links could not resolve these because the values were not explicitly documented. | |||||
* | DOC: Add backslashes so the function renders correctly with sphinx. | MSeifert04 | 2019-09-13 | 1 | -3/+3 | |
| | ||||||
* | DOC: Fix reference NPY_ARRAY_OWNDATA instead of NPY_OWNDATA. | MSeifert04 | 2019-09-12 | 1 | -1/+1 | |
| | ||||||
* | BUG: Fix fieldless comparison broadcasting | Allan Haldane | 2019-09-05 | 1 | -2/+3 | |
| | | | | Fixes #13438 | |||||
* | BUG: Fix comparison of fieldless structured arrays | Allan Haldane | 2019-08-31 | 1 | -0/+3 | |
| | ||||||
* | DOC: fix typo | Colin Snyder | 2019-07-24 | 1 | -3/+3 | |
| | ||||||
* | DOC: Array API : Directory restructure and code cleanup (#14010) | Kriti Singh | 2019-07-22 | 10 | -0/+8227 | |
* Minor improvements in Array API docs * Directory restruture |