| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #22786 from asmeurer/linalg-namedtuplesHEADmain | Charles Harris | 2023-05-17 | 1 | -15/+15 |
| |\ | | | | | ENH: Add namedtuple return types to linalg functions that return tuples | ||||
| | * | TYP: Update type annotations for the new linalg named tuples | Bas van Beek | 2023-05-17 | 1 | -15/+15 |
| | | | |||||
| * | | TYP: Relax the `genfromtxt` return dtype when the dtype is unspecified | Bas van Beek | 2023-05-16 | 1 | -5/+5 |
| | | | |||||
| * | | Merge branch 'main' into deprecate-find-common-type | Charles Harris | 2023-05-13 | 13 | -37/+22 |
| |\ \ | |||||
| | * | | TYP: Re-export the `np.dtypes` namespace | Bas van Beek | 2023-05-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | xref https://github.com/numpy/numpy/pull/23358 | ||||
| | * | | TYP: Add the `np.exceptions` namespace and add `DTypePromotionError` | Bas van Beek | 2023-05-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | Xref https://github.com/numpy/numpy/pull/22644 and https://github.com/numpy/numpy/pull/22707 Update modules.pyi | ||||
| | * | | TYP: Let `np.einsum` accept `object` dtypes | Bas van Beek | 2023-05-08 | 2 | -4/+4 |
| | | | | | | | | | | | | | xref https://github.com/numpy/numpy/pull/18053 | ||||
| | * | | BUG: Use output when given on numpy.dot C-API branch (#23459) | Pedro Lameiras | 2023-03-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Updated the dot function C-API so that it now calls `np.multiply` with `out=` and returns it on branch of the function where the correct behaviour was not in place. Added two tests regarding this issue. Closes #21081. Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> | ||||
| | * | | MAINT: cleanup unused Python3.8-only code and references | Clément Robert | 2023-03-14 | 1 | -4/+2 |
| | | | | |||||
| | * | | MAINT, DOC: string_ → bytes_ and unicode_ → str_ | Dimitri Papadopoulos | 2023-02-10 | 3 | -5/+5 |
| | | | | |||||
| | * | | MAINT: Remove all nose testing support. | Charles Harris | 2023-01-19 | 1 | -2/+0 |
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NumPy switched to using pytest in 2018 and nose has been unmaintained for many years. We have kept NumPy's nose support to avoid breaking downstream projects who might have been using it and not yet switched to pytest or some other testing framework. With the arrival of Python 3.12, unpatched nose will raise an error. It it time to move on. Decorators removed - raises - slow - setastest - skipif - knownfailif - deprecated - parametrize - _needs_refcount These are not to be confused with pytest versions with similar names, e.g., pytest.mark.slow, pytest.mark.skipif, pytest.mark.parametrize. Functions removed - Tester - import_nose - run_module_suite | ||||
| | * | Merge pull request #22316 from seberg/void-strctured-new | Sebastian Berg | 2022-11-21 | 2 | -2/+5 |
| | |\ | | | | | | | ENH: Allow creating structured void scalars by passing dtype | ||||
| | | * | ENH: Allow creating structured void scalars by passing dtype | Sebastian Berg | 2022-09-21 | 2 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an optional `dtype=` kwarg to `np.void`. If given (and not None), this kwarg effectively turns it into: res = np.array(data, dtype=dtype)[()] Thanks for Marten's review and Bas' help with the typing. Reviewed-by: Marten van Kerkwijk <mhvk@astro.utoronto.ca> Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com> | ||||
| | * | | TYP: Remove newly deprecated scalar type aliases | Sebastian Berg | 2022-11-17 | 2 | -15/+0 |
| | | | | |||||
| | * | | TYP,DEP: Remove `msort` annotations | BvB93 | 2022-11-14 | 1 | -4/+0 |
| | | | | | | | | | | | | | Xref https://github.com/numpy/numpy/pull/22456 | ||||
| | * | | TYP,ENH: Improve the `dtype`-overload of `stack`, `hstack` and `vstack` | BvB93 | 2022-11-14 | 1 | -0/+3 |
| | | | | | | | | | | | | | Xref https://github.com/numpy/numpy/pull/21627 | ||||
| * | | | DEP,TYP: Remove `find_common_type` typing stubs and tests | Sebastian Berg | 2022-11-07 | 3 | -9/+0 |
| |/ / | |||||
| * | | TST: Avoid possible warning from unnecessary cast with uninitialized values | Sebastian Berg | 2022-10-12 | 1 | -1/+1 |
| | | | | | | | | | | | This should be fixed in `choose` to not do the unnecessary cast, see gh-22237. | ||||
| * | | Merge pull request #22360 from BvB93/mypy | Matti Picus | 2022-10-02 | 3 | -4/+2 |
| |\ \ | | | | | | | TST,TYP: Bump mypy to 0.981 | ||||
| | * | | TST,TYP: Bump mypy to 0.981 | BvB93 | 2022-09-30 | 3 | -4/+2 |
| | |/ | |||||
| * | | ENH,TYP: Add special casing for `ndarray`-based indexing | BvB93 | 2022-09-30 | 1 | -2/+2 |
| |/ | |||||
| * | TYP: Import into random module | Kevin Sheppard | 2022-08-11 | 1 | -2/+2 |
| | | |||||
| * | MAINT: Update typing information | Kevin Sheppard | 2022-08-11 | 2 | -0/+6 |
| | | |||||
| * | Merge pull request #21984 from BvB93/comparison | Matti Picus | 2022-07-17 | 1 | -0/+9 |
| |\ | | | | | MAINT,TYP: Add object-overloads for the `np.generic` rich comparisons | ||||
| | * | MAINT,TYP: Add object-overloads for the `np.generic` rich comparisons | Bas van Beek | 2022-07-14 | 1 | -0/+9 |
| | | | |||||
| * | | TYP,MAINT: Allow `einsum` subscripts to be passed via integer array-likes | Bas van Beek | 2022-07-14 | 1 | -0/+3 |
| |/ | |||||
| * | MAINT, TYP: Fix `np.angle` dtype-overloads | Bas van Beek | 2022-07-12 | 1 | -3/+4 |
| | | |||||
| * | ENH: issue overflow warning when using `abs` on `np.int8(-128)` (#21648) | Meekail Zain | 2022-06-13 | 1 | -2/+4 |
| | | | | | | | Checks condition a == NPY_MIN_@NAME@ to determine whether an overflow error has occurred for np.int8 type. See #21289 and #21188 (comment) for reference. This also adds error integer overflow handling to the `-scalar` paths and "activates" a test for the unsigned versions. A few tests are skipped, because the tests were buggy (they never ran). These paths require followups to fix. | ||||
| * | TYP: Remove `normed=` from typing stubs | Sebastian Berg | 2022-06-02 | 1 | -1/+0 |
| | | |||||
| * | TYP: Allow unsigned integer inplace-ops to accept signed integers | Bas van Beek | 2022-05-25 | 1 | -0/+4 |
| | | | | | Inplace ops generally use "same_kind" casting w.r.t. to the left operand. An exception to this rule are unsigned integers though, which also accepts a signed integer (array) for the right operand as long as all its values are >=0. | ||||
| * | MAINT: Python <3.8 related cleanups | Brigitta Sipőcz | 2022-05-23 | 2 | -7/+5 |
| | | |||||
| * | TYP: Add basic `np.number` overloads for ndarray dunders | Bas van Beek | 2022-05-14 | 1 | -1/+4 |
| | | |||||
| * | TYP: Let `ndarray` fancy indexing always return an `ndarray` | Bas van Beek | 2022-04-15 | 1 | -0/+2 |
| | | |||||
| * | MAINT: Explicitly re-export the types in `numpy._typing` | Bas van Beek | 2022-03-18 | 1 | -0/+1 |
| | | |||||
| * | MAINT: Split `numpy.typing` into a public and private component | Bas van Beek | 2022-03-18 | 9 | -12/+15 |
| | | | | | i.e. `numpy.typing` and `numpy._typing` | ||||
| * | Merge pull request #21180 from BvB93/mypy | Charles Harris | 2022-03-13 | 12 | -62/+62 |
| |\ | | | | | TST: Bump mypy from 0.931 to 0.940 | ||||
| | * | TST: Adapt to the mypy 0.940 `iter` changes | Bas van Beek | 2022-03-11 | 3 | -6/+6 |
| | | | | | | | | | xref https://github.com/python/typeshed/pull/6035 | ||||
| | * | TST: Adapt to the mypy 0.940 changes in tuple representation | Bas van Beek | 2022-03-11 | 12 | -58/+58 |
| | | | |||||
| * | | MAINT: Relax the `obj` type in `__array_finalize__` | Bas van Beek | 2022-02-23 | 3 | -0/+6 |
| | | | |||||
| * | | MAINT: Remove a leftover `__array_finalize__` property decorator | Bas van Beek | 2022-02-23 | 2 | -0/+6 |
| |/ | |||||
| * | TYP,TST: Add tests for known mypy-related false-positives | Bas van Beek | 2022-02-21 | 2 | -0/+21 |
| | | | | | These all concern known false positives due to known mypy bugs. If one of these tests break, than that would generally be indicative of a upstream bug fix | ||||
| * | TYP,MAINT: Explicitly allow sequences of array-likes in `np.concatenate` | Bas van Beek | 2022-02-21 | 1 | -0/+5 |
| | | |||||
| * | TYP: Add dtype-typing support to `fromnumeric` part 3 | Bas van Beek | 2022-02-14 | 2 | -72/+90 |
| | | |||||
| * | TST: Add more typing tests for `np.core.fromnumeric` | Bas van Beek | 2022-02-09 | 2 | -58/+77 |
| | | |||||
| * | TST,MAINT: Improve a number of variable names | Bas van Beek | 2022-02-09 | 1 | -227/+226 |
| | | |||||
| * | Merge pull request #20902 from BvB93/fromnumeric | Charles Harris | 2022-01-27 | 2 | -85/+89 |
| |\ | | | | | TYP,ENH: Add dtype-typing support to `np.core.fromnumeric` (part 1) | ||||
| | * | TYP,ENH: Add dtype-typing support to `fromnumeric` (part 1) | Bas van Beek | 2022-01-26 | 2 | -85/+89 |
| | | | |||||
| * | | MAINT: Add annotations for `flatiter.__setitem__` | Bas van Beek | 2022-01-27 | 1 | -0/+4 |
| | | | |||||
| * | | MAINT: Allow `flatiter.__getitem__` to accept 1-tuples | Bas van Beek | 2022-01-27 | 1 | -0/+2 |
| |/ | |||||
| * | Merge pull request #20887 from BvB93/aliases | Charles Harris | 2022-01-24 | 2 | -2/+2 |
| |\ | | | | | TYP,MAINT: Add aliases for commonly used unions | ||||
