summaryrefslogtreecommitdiff
path: root/numpy/typing
Commit message (Expand)AuthorAgeFilesLines
* ENH: issue overflow warning when using `abs` on `np.int8(-128)` (#21648)Meekail Zain2022-06-131-2/+4
* TYP: Remove `normed=` from typing stubsSebastian Berg2022-06-021-1/+0
* Merge pull request #21605 from BvB93/aliasMatti Picus2022-05-271-3/+40
|\
| * TST: Remove the `__reduce__` testsBas van Beek2022-05-261-2/+0
| * TST: Add `npt._GenericAlias` tests for (backported) Python 3.11 featuresBas van Beek2022-05-261-3/+42
* | TYP: Allow unsigned integer inplace-ops to accept signed integersBas van Beek2022-05-251-0/+4
|/
* MAINT: Python <3.8 related cleanupsBrigitta Sipőcz2022-05-232-7/+5
* DOC: Add a note about `npt._GenericAlias` >=3.11 stabilityBas van Beek2022-05-201-0/+4
* TST,TYP: Fix a python 3.11 failure for the `GenericAlias` testsBas van Beek2022-05-201-2/+2
* TYP: Add basic `np.number` overloads for ndarray dundersBas van Beek2022-05-141-1/+4
* TYP: Let `ndarray` fancy indexing always return an `ndarray`Bas van Beek2022-04-151-0/+2
* DOC: Fix an `automodule` pathBas van Beek2022-03-181-1/+1
* MAINT: Explicitly re-export the types in `numpy._typing`Bas van Beek2022-03-181-0/+1
* MAINT: Split `numpy.typing` into a public and private componentBas van Beek2022-03-1826-2050/+56
* ENH: Add 'ulong' to sctypeDict (#21151)Geoffrey Gunter2022-03-141-1/+1
* Merge pull request #21180 from BvB93/mypyCharles Harris2022-03-1312-62/+62
|\
| * TST: Adapt to the mypy 0.940 `iter` changesBas van Beek2022-03-113-6/+6
| * TST: Adapt to the mypy 0.940 changes in tuple representationBas van Beek2022-03-1112-58/+58
* | Merge pull request #21111 from BvB93/__array_finalize__Matti Picus2022-02-245-0/+12
|\ \ | |/ |/|
| * MAINT: Relax the `obj` type in `__array_finalize__`Bas van Beek2022-02-233-0/+6
| * MAINT: Remove a leftover `__array_finalize__` property decoratorBas van Beek2022-02-232-0/+6
* | ENH: Mark non-subclassable types as `final`Bas van Beek2022-02-221-5/+5
|/
* TYP,TST: Add tests for known mypy-related false-positivesBas van Beek2022-02-212-0/+21
* TYP,MAINT: Explicitly allow sequences of array-likes in `np.concatenate`Bas van Beek2022-02-211-0/+5
* TYP: Add dtype-typing support to `fromnumeric` part 3Bas van Beek2022-02-142-72/+90
* DOC: See also should not have backticks.Matthias Bussonnier2022-02-121-1/+1
* TST: Add more typing tests for `np.core.fromnumeric`Bas van Beek2022-02-092-58/+77
* TST,MAINT: Improve a number of variable namesBas van Beek2022-02-091-227/+226
* Merge pull request #20902 from BvB93/fromnumericCharles Harris2022-01-272-85/+89
|\
| * TYP,ENH: Add dtype-typing support to `fromnumeric` (part 1)Bas van Beek2022-01-262-85/+89
* | MAINT: Add annotations for `flatiter.__setitem__`Bas van Beek2022-01-271-0/+4
* | MAINT: Allow `flatiter.__getitem__` to accept 1-tuplesBas van Beek2022-01-271-0/+2
|/
* Merge pull request #20887 from BvB93/aliasesCharles Harris2022-01-245-15/+33
|\
| * TST: Fix failing typing testsBas van Beek2022-01-242-2/+2
| * MAINT: Create the `_ArrayLike` type-alias in `numpy.typing`Bas van Beek2022-01-241-0/+6
| * MAINT: Rename the old `_ArrayLike` parameter used inside the `_array_like` mo...Bas van Beek2022-01-241-12/+12
| * MAINT: Create the `_DTypeLike` type-alias in `numpy.typing`Bas van Beek2022-01-242-1/+13
* | Merge pull request #20885 from BvB93/param_specCharles Harris2022-01-242-0/+6
|\ \ | |/ |/|
| * ENH: Improve typing with the help of `ParamSpec`Bas van Beek2022-01-242-0/+6
* | MAINT: Relax the return-type of `np.vectorize`Bas van Beek2022-01-191-1/+1
|/
* ENH: Type the `like` parameter via a `__array_function__` protocolBas van Beek2022-01-112-0/+3
* TYP: Add a protocol class representing `__array_function__`Bas van Beek2022-01-112-0/+15
* MAINT: removed duplicate 'int' type in ScalarTypeGaëtan de Menten2022-01-102-6/+6
* TYP: Allow time manipulation functions to accept `data` and `timedelta` objectsBas van Beek2022-01-061-0/+12
* TYP,MAINT: Allow `ndindex` to accept integer tuplesBas van Beek2022-01-022-0/+3
* TYP,TST: Bump mypy to 0.930Bas van Beek2021-12-261-1/+1
* STY: Use subscriptable `collections.abc` types over the generic aliases in …Bas van Beek2021-12-239-12/+13
* STY: Use subscriptable `builtins` types over the generic aliases in `typing`Bas van Beek2021-12-2333-163/+154
* STY: Replace `Union` with the `|` operatorBas van Beek2021-12-222-8/+9
* STY: Replace `Optional` with the `|` operatorBas van Beek2021-12-221-2/+4