| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| * | | 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 |
| | |/ | |||||
| * | | Merge pull request #22358 from BvB93/index | Matti Picus | 2022-10-02 | 1 | -2/+2 |
| |\ \ | | | | | | | ENH,TYP: Add special casing for `ndarray`-based indexing | ||||
| | * | | ENH,TYP: Add special casing for `ndarray`-based indexing | BvB93 | 2022-09-30 | 1 | -2/+2 |
| | |/ | |||||
| * | | TYP,ENH: Mark `numpy.typing` protocols as runtime checkable | BvB93 | 2022-09-30 | 1 | -1/+32 |
| |/ | |||||
| * | 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 |
| | | | |||||
| * | | Merge pull request #21983 from BvB93/einsum | Matti Picus | 2022-07-14 | 1 | -0/+3 |
| |\ \ | |/ |/| | TYP,MAINT: Allow `einsum` subscripts to be passed via integer array-likes | ||||
| | * | TYP,MAINT: Allow `einsum` subscripts to be passed via integer array-likes | Bas van Beek | 2022-07-14 | 1 | -0/+3 |
| | | | |||||
| * | | MAINT: Do not let `_GenericAlias` wrap the underlying classes `__class__` ↵ | Bas van Beek | 2022-07-14 | 1 | -1/+4 |
| |/ | | | | | | attribute Adapt to the 3.11b4 changes introduced in https://github.com/python/cpython/pull/93754 | ||||
| * | 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 |
| | | |||||
| * | Merge pull request #21605 from BvB93/alias | Matti Picus | 2022-05-27 | 1 | -3/+40 |
| |\ | | | | | MAINT: Adapt the `npt._GenericAlias` backport to Python 3.11 `types.GenericAlias` changes | ||||
| | * | TST: Remove the `__reduce__` tests | Bas van Beek | 2022-05-26 | 1 | -2/+0 |
| | | | | | | | | | Deliberate divergence w.r.t. CPython | ||||
| | * | TST: Add `npt._GenericAlias` tests for (backported) Python 3.11 features | Bas van Beek | 2022-05-26 | 1 | -3/+42 |
| | | | |||||
| * | | 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 |
| | | |||||
| * | DOC: Add a note about `npt._GenericAlias` >=3.11 stability | Bas van Beek | 2022-05-20 | 1 | -0/+4 |
| | | |||||
| * | TST,TYP: Fix a python 3.11 failure for the `GenericAlias` tests | Bas van Beek | 2022-05-20 | 1 | -2/+2 |
| | | |||||
| * | 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 | 11 | -41/+44 |
| | | | | | 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 | ||||
| | * | TST: Fix failing typing tests | Bas van Beek | 2022-01-24 | 2 | -2/+2 |
| | | | |||||
| * | | Merge pull request #20885 from BvB93/param_spec | Charles Harris | 2022-01-24 | 2 | -0/+6 |
| |\ \ | |/ |/| | TYP,ENH: Improve typing with the help of `ParamSpec` | ||||
| | * | ENH: Improve typing with the help of `ParamSpec` | Bas van Beek | 2022-01-24 | 2 | -0/+6 |
| | | | |||||
