GitHub / numpy/numpy issues and pull requests
Labelled with: 41 - Static typing
#30181 - DEP: Deprecate ndarray.resize
Pull Request -
State: open - Opened by eendebakpt 17 days ago
Labels: 07 - Deprecation, 41 - Static typing
#30084 - TYP: ``numpy.ma``: Annotate the callable wrapper classes
Pull Request -
State: open - Opened by jorenham 29 days ago
Labels: component: numpy.ma, 41 - Static typing
#29990 - TYP: missing parameter default in ``reshape`` for ``newshape``
Pull Request -
State: closed - Opened by jorenham about 1 month ago
- 1 comment
Labels: 41 - Static typing
#29969 - TYP: fix stubtest errors in ``lib._function_base_impl``
Pull Request -
State: open - Opened by jorenham about 1 month ago
Labels: 09 - Backport-Candidate, 41 - Static typing
#29968 - TYP: missing ``vectorize`` default argument
Pull Request -
State: open - Opened by jorenham about 1 month ago
Labels: 09 - Backport-Candidate, 41 - Static typing
#29967 - TYP: improved ``busdaycalendar`` annotations
Pull Request -
State: open - Opened by jorenham about 1 month ago
Labels: 41 - Static typing
#29966 - TYP: minor fixes in ``__pow__`` methods
Pull Request -
State: open - Opened by jorenham about 1 month ago
Labels: 41 - Static typing
#29965 - TYP: mark ``flexible`` as ``@final``
Pull Request -
State: closed - Opened by jorenham about 1 month ago
- 1 comment
Labels: 41 - Static typing
#29961 - TYP: update the ``finfo`` stubs
Pull Request -
State: closed - Opened by jorenham about 1 month ago
- 1 comment
Labels: 41 - Static typing
#29959 - TYP: stub ``numpy.ma.testutils``
Pull Request -
State: closed - Opened by jorenham about 1 month ago
- 1 comment
Labels: component: numpy.ma, 41 - Static typing, numtype
#29958 - TYP: Fix inconsistent ``__all__`` stubs
Pull Request -
State: closed - Opened by jorenham about 1 month ago
- 1 comment
Labels: 41 - Static typing
#29954 - TYP: fix inconsistent ``float64.__getformat__`` stub
Pull Request -
State: open - Opened by jorenham about 1 month ago
Labels: 41 - Static typing
#29952 - TYP: add ``__class_getitem__`` to ``bool`` and ``datetime64``
Pull Request -
State: open - Opened by jorenham about 1 month ago
Labels: 41 - Static typing
#29935 - CI: Run mypy on Python 3.14 and ignore more paths
Pull Request -
State: closed - Opened by jorenham about 1 month ago
Labels: component: CI, 41 - Static typing
#29865 - TYP: Various typing fixes
Pull Request -
State: open - Opened by charris about 2 months ago
Labels: 08 - Backport, 41 - Static typing
#29848 - MAINT,TYP: bump ``mypy`` to ``1.18.2``
Pull Request -
State: open - Opened by jorenham about 2 months ago
Labels: 03 - Maintenance, 41 - Static typing, Dependencies
#29847 - TYP: Fix incompatible defaults in ``polyfit``, ``histogram``, and ``histogramdd``
Pull Request -
State: closed - Opened by jorenham about 2 months ago
Labels: 09 - Backport-Candidate, 41 - Static typing
#29845 - TYP: Add missing ``rtol`` kwarg to ``linalg.pinv``
Pull Request -
State: closed - Opened by jorenham about 2 months ago
Labels: 09 - Backport-Candidate, 41 - Static typing
#29842 - TYP: Fix ``generic.__new__`` return type
Pull Request -
State: closed - Opened by jorenham about 2 months ago
Labels: 09 - Backport-Candidate, 41 - Static typing
#29791 - TYP: fix method declarations in floating, timedelta64, and datetime64Backport
Pull Request -
State: open - Opened by charris 2 months ago
Labels: 08 - Backport, 41 - Static typing
#29788 - TYP: replace scalar type __init__ with __new__
Pull Request -
State: closed - Opened by charris 2 months ago
- 1 comment
Labels: 08 - Backport, 41 - Static typing, numtype
#29785 - TYP: mypy 1.18.1
Pull Request -
State: closed - Opened by charris 2 months ago
- 5 comments
Labels: 08 - Backport, 41 - Static typing
#29776 - TYP: fix and improve ``{f,i}info`` stubs in ``_core.getlimits``
Pull Request -
State: closed - Opened by jorenham 2 months ago
- 4 comments
Labels: 41 - Static typing, numtype
#29736 - TYP: sort out some of the ``# type: ignore`` comments in ``__init__.pyi``
Pull Request -
State: closed - Opened by jorenham 3 months ago
Labels: 41 - Static typing
#29733 - TYP: fix method declarations in ``floating``, ``timedelta64``, and ``datetime64``
Pull Request -
State: closed - Opened by jorenham 3 months ago
- 2 comments
Labels: 09 - Backport-Candidate, 41 - Static typing
#29706 - TYP: fix ``np.number`` and ``np.*integer`` method declaration
Pull Request -
State: closed - Opened by jorenham 3 months ago
- 2 comments
Labels: 09 - Backport-Candidate, 41 - Static typing
#29695 - TYP: fix ``np.bool`` method declarations
Issue -
State: closed - Opened by jorenham 3 months ago
Labels: 09 - Backport-Candidate, 41 - Static typing
#29684 - TYP: ndarray.fill() takes no keyword arguments
Pull Request -
State: open - Opened by charris 3 months ago
Labels: 08 - Backport, 41 - Static typing
#29631 - TYP: Make ``datetime64`` a generic type at runtime
Pull Request -
State: closed - Opened by jorenham 3 months ago
- 1 comment
Labels: 01 - Enhancement, 41 - Static typing
#29630 - TYP: fix slightly incorrect ``memoryview`` type argument in ``ScalarType``
Pull Request -
State: closed - Opened by jorenham 3 months ago
Labels: 41 - Static typing, numtype
#29603 - TYP: Add defaults to stubs in ``numpy/lib``
Pull Request -
State: closed - Opened by MarcoGorelli 3 months ago
Labels: 41 - Static typing
#29595 - TYP: `_NoValueType` annotations missing for certain function parameters in `_core/fromnumeric.pyi`
Issue -
State: open - Opened by jorenham 3 months ago
Labels: 41 - Static typing
#29593 - TYP: add ``sorted`` kwarg to ``unique``
Pull Request -
State: closed - Opened by charris 3 months ago
Labels: 41 - Static typing
#29586 - TYP: add ``sorted`` kwarg to ``unique``
Pull Request -
State: closed - Opened by jorenham 3 months ago
Labels: 09 - Backport-Candidate, 41 - Static typing
#29574 - TYP: add ``ndmax`` parameter to ``np.array``
Pull Request -
State: closed - Opened by jorenham 3 months ago
- 2 comments
Labels: 41 - Static typing
#29531 - TYP: Type default values in stubs in `numpy/ma`
Pull Request -
State: closed - Opened by MarcoGorelli 4 months ago
Labels: component: numpy.ma, 41 - Static typing
#29493 - MAINT: bump `mypy` to `1.17.1`
Pull Request -
State: closed - Opened by jorenham 4 months ago
- 1 comment
Labels: 03 - Maintenance, 41 - Static typing, Dependencies
#29468 - TYP: Type ``MaskedArray.fill_value``
Pull Request -
State: closed - Opened by MarcoGorelli 4 months ago
Labels: component: numpy.ma, 41 - Static typing
#29467 - TYP: Type ``MaskedArray.recordmask``
Pull Request -
State: closed - Opened by MarcoGorelli 4 months ago
Labels: component: numpy.ma, 41 - Static typing
#29416 - TYP: Fix overloads in ``np.char.array`` and ``np.char.asarray`` for ``unicode`` argument.
Pull Request -
State: closed - Opened by charris 4 months ago
Labels: 08 - Backport, 41 - Static typing
#29404 - TYP: Type ``MaskedArray.reshape``
Pull Request -
State: closed - Opened by MarcoGorelli 4 months ago
Labels: component: numpy.ma, 41 - Static typing
#29381 - TYP: Type `MaskedArray.{sum,std,var,mean,prod}`
Pull Request -
State: closed - Opened by MarcoGorelli 4 months ago
Labels: component: numpy.ma, 41 - Static typing
#29377 - TYP: Fix overloads in ``np.char.array`` and ``np.char.asarray`` for ``unicode`` argument
Pull Request -
State: closed - Opened by MarcoGorelli 4 months ago
- 1 comment
Labels: 09 - Backport-Candidate, 41 - Static typing
#29376 - TYP: `np.char.array` overloads not totally accurate for `unicode` arg
Issue -
State: closed - Opened by MarcoGorelli 4 months ago
Labels: 41 - Static typing
#29370 - ENH: Allow subscript access for `np.bool` by adding `__class_getitem__`
Pull Request -
State: closed - Opened by riku-sakamoto 5 months ago
- 1 comment
Labels: 01 - Enhancement, 41 - Static typing
#29365 - DOC: developer workflow missing a note about typing checks
Issue -
State: closed - Opened by deniederhut 5 months ago
- 1 comment
Labels: 04 - Documentation, 41 - Static typing
#29364 - TST: refactor typing check for @
Pull Request -
State: closed - Opened by deniederhut 5 months ago
- 4 comments
Labels: 05 - Testing, 41 - Static typing
#29360 - TYP: comparing int array to python int only gives correct type with e.g. `np.not_equal` and `.astype` cast
Issue -
State: open - Opened by brendan-m-murphy 5 months ago
Labels: 41 - Static typing
#29346 - TYP: add units for datetime64
Issue -
State: closed - Opened by alippai 5 months ago
- 3 comments
Labels: 41 - Static typing
#29340 - TYP: correct default value of `unicode` in `chararray.__new__` and of `full` in `polyfit`
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 3 comments
Labels: 41 - Static typing
#29332 - TYP: Allow passing `dtype=None` to `trace`
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
Labels: 41 - Static typing
#29331 - TYP: `svd` overload incorrectly noted `Literal[False]` to be the default for `compute_uv`
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 1 comment
Labels: 41 - Static typing
#29310 - TYP: rename `_T` to `_ScalarT` in `matlib.pyi` for consistency
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 1 comment
Labels: 41 - Static typing
#29309 - TYP: Type ``MaskedArray.dot`` and ``MaskedArray.anom``
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
Labels: 41 - Static typing
#29309 - TYP: Type ``MaskedArray.dot`` and ``MaskedArray.anom``
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 1 comment
Labels: 41 - Static typing
#29307 - TYP: Type ``MaskedArray.{trace,round,cumsum,cumprod}``
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 3 comments
Labels: component: numpy.ma, 41 - Static typing
#29305 - TYP: add explicit types for np.quantile
Pull Request -
State: closed - Opened by inventshah 5 months ago
- 1 comment
Labels: 41 - Static typing
#29305 - TYP: add explicit types for np.quantile
Pull Request -
State: closed - Opened by inventshah 5 months ago
Labels: 41 - Static typing
#29304 - DOC: np.quantile incorrectly displays the np.percentile docstring
Issue -
State: closed - Opened by inventshah 5 months ago
- 1 comment
Labels: 04 - Documentation, 41 - Static typing
#29303 - TYP: Add shape typing to return values of `np.nonzero` and `ndarray.nonzero`, simplify `MaskedArray.nonzero` return type
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 5 comments
Labels: 41 - Static typing
#29283 - TYP: Work around a mypy issue with bool arrays (#29248)
Pull Request -
State: closed - Opened by charris 5 months ago
- 3 comments
Labels: 08 - Backport, 41 - Static typing
#29283 - TYP: Work around a mypy issue with bool arrays (#29248)
Pull Request -
State: closed - Opened by charris 5 months ago
- 3 comments
Labels: 08 - Backport, 41 - Static typing
#29278 - TYP: fix overloads where `out: _ArrayT` was typed as being the default
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 4 comments
Labels: 41 - Static typing
#29277 - TYP: Add type annotations for `MaskedArray.__{pow,rpow}__`
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 2 comments
Labels: component: numpy.ma, 41 - Static typing
#29271 - TYP: Add overloads for `MaskedArray.__{div,rdiv,floordiv,rfloordiv}__`
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 1 comment
Labels: component: numpy.ma, 41 - Static typing
#29271 - TYP: Add overloads for `MaskedArray.__{div,rdiv,floordiv,rfloordiv}__`
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 2 comments
Labels: component: numpy.ma, 41 - Static typing
#29265 - TYP: Type ``MaskedArray.__{mul,rmul}__``
Pull Request -
State: closed - Opened by MarcoGorelli 5 months ago
- 1 comment
Labels: component: numpy.ma, 41 - Static typing
#29248 - TYP: Work around a mypy issue with bool arrays
Pull Request -
State: closed - Opened by jorenham 5 months ago
- 3 comments
Labels: 41 - Static typing
#29248 - TYP: Work around a mypy issue with bool arrays
Pull Request -
State: closed - Opened by jorenham 5 months ago
- 2 comments
Labels: 09 - Backport-Candidate, 41 - Static typing
#29245 - TYP: mypy returns dtype of np.bool[Literal[False]] for array of bools
Issue -
State: open - Opened by bkeryan 5 months ago
Labels: 41 - Static typing
#29227 - TYP: Support iteration of ``StringDType`` arrays
Pull Request -
State: closed - Opened by jorenham 5 months ago
- 4 comments
Labels: 41 - Static typing
#29227 - TYP: Support iteration of ``StringDType`` arrays
Pull Request -
State: closed - Opened by jorenham 5 months ago
- 5 comments
Labels: 41 - Static typing
#29222 - TYP: Backport typing fixes
Pull Request -
State: closed - Opened by charris 5 months ago
- 2 comments
Labels: 08 - Backport, 41 - Static typing
#29222 - TYP: Backport typing fixes
Pull Request -
State: closed - Opened by charris 5 months ago
- 2 comments
Labels: 08 - Backport, 41 - Static typing
#29218 - TYP: Workaround for a mypy issue in ``ndarray.__iter__``
Pull Request -
State: closed - Opened by jorenham 5 months ago
- 3 comments
Labels: 41 - Static typing
#29214 - TYP: incorrect type inference for iteration elements? (numpy 2.3.0)
Issue -
State: open - Opened by JstnMcBrd 5 months ago
Labels: 41 - Static typing
#29204 - TYP: fix ``ndarray.__array__`` annotation for ``copy``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 2 comments
Labels: 41 - Static typing
#29203 - TYP: typehints for __array__
Issue -
State: closed - Opened by MarDiehl 6 months ago
- 1 comment
Labels: 41 - Static typing
#29192 - TYP: Backport typing fixes and improvements.
Pull Request -
State: closed - Opened by charris 6 months ago
Labels: 08 - Backport, 41 - Static typing
#29192 - TYP: Backport typing fixes and improvements.
Pull Request -
State: open - Opened by charris 6 months ago
Labels: 08 - Backport, 41 - Static typing
#29187 - TYP: add ``__all__`` in ``numpy._core.__init__``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: 41 - Static typing, numtype
#29184 - TYP: fix ``ravel_multi_index`` false rejections
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: 41 - Static typing
#29181 - TYP: fix and improve ``numpy.lib._utils_impl``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: 41 - Static typing, numtype
#29181 - TYP: fix and improve ``numpy.lib._utils_impl``
Pull Request -
State: closed - Opened by jorenham 6 months ago
Labels: 41 - Static typing, numtype
#29177 - TYP: ``lib._iotools`` annotation improvements
Pull Request -
State: closed - Opened by jorenham 6 months ago
Labels: 41 - Static typing
#29177 - TYP: ``lib._iotools`` annotation improvements
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: 41 - Static typing
#29176 - TYP: ``any(None)`` and ``all(None)``
Pull Request -
State: closed - Opened by jorenham 6 months ago
Labels: 09 - Backport-Candidate, 41 - Static typing
#29176 - TYP: ``any(None)`` and ``all(None)``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: 41 - Static typing
#29175 - TYP: Fix invalid inline annotations in ``lib._function_base_impl``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: 41 - Static typing
#29175 - TYP: Fix invalid inline annotations in ``lib._function_base_impl``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 2 comments
Labels: 41 - Static typing
#29171 - TYP: Accept dispatcher function with optional returns in ``_core.overrides``
Pull Request -
State: closed - Opened by jorenham 6 months ago
Labels: 41 - Static typing
#29170 - TYP: ``numpy._NoValue``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 3 comments
Labels: 41 - Static typing
#29169 - TYP: ``out=...`` in ufuncs
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: 41 - Static typing
#29169 - TYP: ``out=...`` in ufuncs
Pull Request -
State: closed - Opened by jorenham 6 months ago
Labels: 41 - Static typing
#29168 - TYP: Simplified ``dtype.__new__`` overloads
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: 41 - Static typing
#29166 - TYP: Fix missing ``_core.numeric`` (re-)exports
Pull Request -
State: open - Opened by jorenham 6 months ago
Labels: 41 - Static typing
#29166 - TYP: Fix missing ``_core.numeric`` (re-)exports
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 4 comments
Labels: 41 - Static typing
#29156 - CI: Run mypy with Python 3.13
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 1 comment
Labels: component: CI, 41 - Static typing
#29155 - TYP: ``double = float64`` and ``cdouble = complex128``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 5 comments
Labels: 41 - Static typing
#29155 - TYP: ``double = float64`` and ``cdouble = complex128``
Pull Request -
State: closed - Opened by jorenham 6 months ago
- 4 comments
Labels: 41 - Static typing