Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ENH: Convert methods to vectorcall conversions (#23018) | Pieter Eendebak | 2023-01-23 | 1 | -0/+1 |
| | | | | | | | | | | | | Convert several methods to the vectorcall convention. The conversions give a performance improvement, see #20790 (comment) Some notes: * For vdot the METH_KEYWORDS was removed, as the C vdot method was positional only. * The add_docstring is converted with an additional check. It was parsed as if (!PyArg_ParseTuple(args, "OO!:add_docstring", &obj, &PyUnicode_Type, &str)), but there is no support for the ! in the npy_parse_arguments * CI was complaining about coverage of _get_ndarray_c_version. A test was added, but only to provide coverage * In function_base.py a redundant check in def place was removed Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> | ||||
* | Align spelling with spelling in _GetItemKeys and documentation. | Adam Knapp | 2022-10-17 | 1 | -1/+1 |
| | |||||
* | ENH: allow explicit `like=None` in all array creation functions (#22379) | Jordy Williams | 2022-10-11 | 1 | -50/+50 |
| | | | | | | | Addresses #22069. As discussed in the existing issue @seberg stated that it would be best to support explicitly defined like=None when creating arange objects. Extended to all other array_creation methods which did not currently support like=None. Closes gh-22069 | ||||
* | TYP,ENH: Mark all unhashable classes as such | Bas van Beek | 2022-07-09 | 1 | -1/+2 |
| | |||||
* | MAINT: Split `numpy.typing` into a public and private component | Bas van Beek | 2022-03-18 | 1 | -1/+1 |
| | | | | i.e. `numpy.typing` and `numpy._typing` | ||||
* | TYP,MAINT: Explicitly allow sequences of array-likes in `np.concatenate` | Bas van Beek | 2022-02-21 | 1 | -4/+12 |
| | |||||
* | MAINT: Create the `_ArrayLike` type-alias in `numpy.typing` | Bas van Beek | 2022-01-24 | 1 | -4/+1 |
| | | | | Represents a subset of `npt.ArrayLike` that can be parametrized w.r.t. `np.generic` | ||||
* | MAINT: Create the `_DTypeLike` type-alias in `numpy.typing` | Bas van Beek | 2022-01-24 | 1 | -9/+1 |
| | | | | Represents a subset of `npt.DTypeLike` that can be parametrized w.r.t. `np.generic` | ||||
* | ENH: Type the `like` parameter via a `__array_function__` protocol | Bas van Beek | 2022-01-11 | 1 | -50/+51 |
| | |||||
* | TYP: Allow time manipulation functions to accept `data` and `timedelta` objects | Bas van Beek | 2022-01-06 | 1 | -35/+36 |
| | |||||
* | STY: Use subscriptable `collections.abc` types over the generic aliases in … | Bas van Beek | 2021-12-23 | 1 | -3/+1 |
| | |||||
* | STY: Use subscriptable `builtins` types over the generic aliases in `typing` | Bas van Beek | 2021-12-23 | 1 | -15/+12 |
| | |||||
* | STY: Replace `Union` with the `|` operator | Bas van Beek | 2021-12-22 | 1 | -4/+4 |
| | |||||
* | STY: Replace `Optional` with the `|` operator | Bas van Beek | 2021-12-22 | 1 | -26/+25 |
| | |||||
* | resolved conflicts | Gagandeep Singh | 2021-11-02 | 1 | -4/+16 |
|\ | |||||
| * | ENH: Add annotations for `nditer` and `nested_iters` | Bas van Beek | 2021-09-25 | 1 | -1/+13 |
| | | |||||
| * | MAINT: Replace the old `_NestedSequence` union and remove `_RecursiveSequence` | Bas van Beek | 2021-09-19 | 1 | -2/+2 |
| | | |||||
* | | Addressed reviews | czgdp1807 | 2021-09-04 | 1 | -6/+1 |
| | | |||||
* | | resolved conflicts | czgdp1807 | 2021-09-03 | 1 | -54/+62 |
|\ \ | |/ | |||||
| * | ENH: Use custom file-like protocols instead of `typing.IO` | Bas van Beek | 2021-09-02 | 1 | -4/+5 |
| | | |||||
| * | STY: Use the PEP 457 positional-only syntax in the stub files | Bas van Beek | 2021-08-31 | 1 | -40/+53 |
| | | |||||
| * | MAINT: Drop .pyi code-paths specific to Python 3.7 | Bas van Beek | 2021-08-30 | 1 | -6/+4 |
| | | |||||
* | | Made _CopyMode private | czgdp1807 | 2021-08-18 | 1 | -7/+7 |
| | | |||||
* | | Shifted to CopyMode to np.array_api | czgdp1807 | 2021-08-07 | 1 | -1/+4 |
| | | |||||
* | | resolved conflicts | czgdp1807 | 2021-08-06 | 1 | -3/+55 |
|\ \ | |/ | |||||
| * | ENH: Use literals for `flagsobj.__getitem__` and `__setitem__` | Bas van Beek | 2021-07-08 | 1 | -2/+21 |
| | | |||||
| * | ENH: Mark `flagsobj` as non-hashable and non-subclassable | Bas van Beek | 2021-07-08 | 1 | -2/+4 |
| | | |||||
| * | DEP: Remove annotations for `flagsobj.updateifcopy` | Bas van Beek | 2021-07-08 | 1 | -1/+2 |
| | | |||||
| * | MAINT: Move the `flagsobj` annotations to `np.core.multiarray` | Bas van Beek | 2021-07-08 | 1 | -0/+30 |
| | | |||||
* | | interface shifted | czgdp1807 | 2021-06-15 | 1 | -5/+12 |
|/ | |||||
* | ENH: Add annotations for all remaining multiarray functions | Bas van Beek | 2021-06-13 | 1 | -2/+413 |
| | |||||
* | ENH: Allow `array` and `empty_like` to pass through subclasses if `dtype=None` | Bas van Beek | 2021-06-11 | 1 | -0/+19 |
| | |||||
* | ENH: Add basic dtype-support to 4 array constructors | Bas van Beek | 2021-06-11 | 1 | -12/+114 |
| | |||||
* | ENH: Use literals for the constants when possible | Bas van Beek | 2021-06-11 | 1 | -9/+9 |
| | |||||
* | MAINT: Move 4 array constructors from `np.core._asarray` to `np.core.multiarray` | Bas van Beek | 2021-06-11 | 1 | -0/+30 |
| | |||||
* | MAINT: Move 9 constants from `np` to `np.core.multiarray` | Bas van Beek | 2021-06-11 | 1 | -2/+12 |
| | |||||
* | ENH: Add initial annotations to `np.core.multiarray` | Bas van Beek | 2021-06-06 | 1 | -14/+252 |
| | |||||
* | MAINT: Move `ravel_multi_index` and `unravel_index` to `np.core.multiarray` | Bas van Beek | 2021-06-06 | 1 | -3/+55 |
| | |||||
* | MAINT: Move `array`, `empty` and `zeros` to `np.core.multiarray` | Bas van Beek | 2021-06-06 | 1 | -0/+57 |
| | |||||
* | MAINT: Move `empty_like` to `np.core.multiarray` | Bas van Beek | 2021-06-06 | 1 | -0/+31 |