GitHub / numpy/numpy issues and pull requests
Labelled with: Static typing
#28169 - TYP: preserve shape-type in ``ndarray.astype()``
Pull Request -
State: closed - Opened by ntrrgc 10 months ago
- 2 comments
Labels: Static typing
#28168 - TYP: Fix overlapping overloads issue in "2 in, 1 out" ufuncs
Pull Request -
State: closed - Opened by jorenham 10 months ago
- 4 comments
Labels: 09 - Backport-Candidate, Static typing
#28162 - TYP: Return type for logical_or too narrow
Issue -
State: closed - Opened by MarDiehl 10 months ago
- 4 comments
Labels: Static typing
#28132 - TYP: Fix ``interp`` to accept and return scalars
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 08 - Backport, Static typing
#28132 - TYP: Fix ``interp`` to accept and return scalars
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 08 - Backport, Static typing
#28129 - DEP: Deprecate ``numpy.typing.mypy_plugin``
Pull Request -
State: closed - Opened by jorenham 11 months ago
Labels: 07 - Deprecation, Static typing
#28129 - DEP: Deprecate ``numpy.typing.mypy_plugin``
Pull Request -
State: closed - Opened by jorenham 11 months ago
- 2 comments
Labels: 07 - Deprecation, Static typing
#28114 - TYP: Always accept ``date[time]`` in the ``datetime64`` constructor
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 08 - Backport, Static typing
#28114 - TYP: Always accept ``date[time]`` in the ``datetime64`` constructor
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 08 - Backport, Static typing
#28113 - TYP: Return the correct ``bool`` from ``issubdtype``
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 08 - Backport, Static typing
#28113 - TYP: Return the correct ``bool`` from ``issubdtype``
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 08 - Backport, Static typing
#28112 - TYP: Better ``ndarray`` binop return types for ``float64`` & ``complex128"
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 08 - Backport, Static typing
#28112 - TYP: Better ``ndarray`` binop return types for ``float64`` & ``complex128"
Pull Request -
State: open - Opened by charris 11 months ago
Labels: 08 - Backport, Static typing
#28110 - TYP: Always accept ``date[time]`` in the ``datetime64`` constructor
Pull Request -
State: closed - Opened by jorenham 11 months ago
- 1 comment
Labels: Static typing
#28109 - TYP: Fix the incorrect ``bool`` return type of ``issubdtype``
Pull Request -
State: closed - Opened by jorenham 11 months ago
Labels: 09 - Backport-Candidate, Static typing
#28109 - TYP: Fix the incorrect ``bool`` return type of ``issubdtype``
Pull Request -
State: closed - Opened by jorenham 11 months ago
- 1 comment
Labels: Static typing
#28108 - TYP: Better ``ndarray`` binop return types for ``float64`` & ``complex128``
Pull Request -
State: closed - Opened by jorenham 11 months ago
- 2 comments
Labels: 09 - Backport-Candidate, Static typing
#28108 - TYP: Better ``ndarray`` binop return types for ``float64`` & ``complex128``
Pull Request -
State: closed - Opened by jorenham 11 months ago
- 4 comments
Labels: Static typing
#28089 - MAINT: bump ``mypy`` to ``1.14.1``
Pull Request -
State: closed - Opened by jorenham 11 months ago
Labels: 03 - Maintenance, Static typing
#28077 - DOC: Add information (maybe just release note) for typing regressions
Issue -
State: open - Opened by seberg 11 months ago
Labels: 04 - Documentation, Static typing
#28073 - TYP: use mypy_primer to surface type checking regressions
Pull Request -
State: closed - Opened by hauntsaninja 11 months ago
- 6 comments
Labels: component: CI, Static typing
#28066 - TYP: fix unnecessarily broad `integer` binop return types (#28065)
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 03 - Maintenance, 08 - Backport, Static typing
#28066 - TYP: fix unnecessarily broad `integer` binop return types (#28065)
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 03 - Maintenance, 08 - Backport, Static typing
#28065 - TYP: fix unnecessarily broad `integer` binop return types
Pull Request -
State: closed - Opened by jorenham 11 months ago
Labels: Static typing
#28065 - TYP: fix unnecessarily broad `integer` binop return types
Pull Request -
State: closed - Opened by jorenham 11 months ago
Labels: 09 - Backport-Candidate, Static typing
#28057 - TYP: Mixed scalar/int binary operations have incorrect type annotation
Issue -
State: closed - Opened by oscarbenjamin 11 months ago
- 2 comments
Labels: 00 - Bug, Static typing
#28055 - TYP: fix ``void`` arrays not accepting ``str`` keys in ``__setitem__``
Pull Request -
State: closed - Opened by charris 11 months ago
- 1 comment
Labels: 00 - Bug, 06 - Regression, 08 - Backport, Static typing
#28055 - TYP: fix ``void`` arrays not accepting ``str`` keys in ``__setitem__``
Pull Request -
State: closed - Opened by charris 11 months ago
- 1 comment
Labels: 00 - Bug, 06 - Regression, 08 - Backport, Static typing
#28054 - CI, TYP: Large-scale integration type-testing with `mypy_primer`
Issue -
State: closed - Opened by jorenham 11 months ago
- 9 comments
Labels: component: CI, Static typing
#28053 - TYP: fix ``void`` arrays not accepting ``str`` keys in ``__setitem__``
Pull Request -
State: closed - Opened by jorenham 11 months ago
- 1 comment
Labels: 00 - Bug, 06 - Regression, Static typing
#28053 - TYP: fix ``void`` arrays not accepting ``str`` keys in ``__setitem__``
Pull Request -
State: closed - Opened by jorenham 11 months ago
Labels: 00 - Bug, 06 - Regression, 09 - Backport-Candidate, Static typing
#28044 - TYP: allow ``None`` in operand sequence of nditer
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 03 - Maintenance, 08 - Backport, Static typing
#28044 - TYP: allow ``None`` in operand sequence of nditer
Pull Request -
State: closed - Opened by charris 11 months ago
Labels: 03 - Maintenance, 08 - Backport, Static typing
#28038 - TYP: `nditer` does not allow `None`-valued elements in operand sequence
Issue -
State: open - Opened by simonaltrogge 11 months ago
Labels: Static typing
#28034 - TYP: Return type of `np.dtype` is `Any`?
Issue -
State: closed - Opened by jhamman 11 months ago
- 15 comments
Labels: 57 - Close?, Static typing
#28017 - TYP: `ndarray.item` is defaulting to output string
Issue -
State: closed - Opened by PranaliPatil12 11 months ago
- 13 comments
Labels: 57 - Close?, Static typing
#27990 - TYP: Fix falsely rejected value types in ``ndarray.__setitem__``
Pull Request -
State: closed - Opened by charris 12 months ago
Labels: 00 - Bug, 08 - Backport, Static typing
#27990 - TYP: Fix falsely rejected value types in ``ndarray.__setitem__``
Pull Request -
State: closed - Opened by charris 12 months ago
Labels: 00 - Bug, 08 - Backport, Static typing
#27977 - TYP: `ndarray.item` never typechecks
Issue -
State: closed - Opened by jonathanberthias 12 months ago
- 2 comments
Labels: 57 - Close?, Static typing
#27967 - TYP: Fix falsely rejected value types in ``ndarray.__setitem__``
Pull Request -
State: closed - Opened by jorenham 12 months ago
- 4 comments
Labels: 00 - Bug, Static typing
#27967 - TYP: Fix falsely rejected value types in ``ndarray.__setitem__``
Pull Request -
State: closed - Opened by jorenham 12 months ago
- 1 comment
Labels: 00 - Bug, 09 - Backport-Candidate, Static typing
#27965 - TYP: Suboptimally annotated arithmetic operator types
Issue -
State: open - Opened by adamjstewart 12 months ago
Labels: Static typing
#27964 - TYP: False positives in ``ndarray.__setitem__`` with ``object_`` dtype in NumPy 2.2
Issue -
State: closed - Opened by jakevdp 12 months ago
- 2 comments
Labels: 00 - Bug, Static typing
#27945 - TYP: excessively vague return types from `np.dtype` and `np.ndarray.dtype` in numpy 2.2.0
Issue -
State: open - Opened by neutrinoceros 12 months ago
Labels: Static typing
#27944 - TYP: `np.ndarray.tolist` return type seems broken in numpy 2.2
Issue -
State: open - Opened by neutrinoceros 12 months ago
Labels: Static typing
#27869 - TYP: Fix ``np.interp`` signature for scalar types
Pull Request -
State: closed - Opened by PTUsumit 12 months ago
- 4 comments
Labels: Static typing
#27792 - TYP: Generic ``numpy.bool`` and statically typed boolean logic
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 2 comments
Labels: Static typing
#27792 - TYP: Generic ``numpy.bool`` and statically typed boolean logic
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27790 - TYP: Generic ``timedelta64`` and ``datetime64`` scalar types
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27790 - TYP: Generic ``timedelta64`` and ``datetime64`` scalar types
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27779 - TYP: Type hints for ``numpy.__config__``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27778 - TYP: Generic ``numpy.generic`` type parameter for the ``item()`` type.
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27776 - TYP: Fix method overload issues in ``ndarray`` and ``generic``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27776 - TYP: Fix method overload issues in ``ndarray`` and ``generic``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27775 - TYP: Fix undefined type-parameter name
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: 00 - Bug, Static typing
#27775 - TYP: Fix undefined type-parameter name
Issue -
State: closed - Opened by jorenham about 1 year ago
Labels: 00 - Bug, Static typing
#27772 - TYP: Fix incorrect baseclass of ``linalg.LinAlgError``
Pull Request -
State: closed - Opened by charris about 1 year ago
Labels: 00 - Bug, 08 - Backport, Static typing
#27772 - TYP: Fix incorrect baseclass of ``linalg.LinAlgError``
Pull Request -
State: closed - Opened by charris about 1 year ago
Labels: 00 - Bug, 08 - Backport, Static typing
#27770 - TYP: Fix incorrect baseclass of ``linalg.LinAlgError``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: 00 - Bug, Static typing
#27770 - TYP: Fix incorrect baseclass of ``linalg.LinAlgError``
Issue -
State: closed - Opened by jorenham about 1 year ago
Labels: 00 - Bug, 09 - Backport-Candidate, Static typing
#27769 - TYP: Towards a less messy ``__init__.pyi``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27769 - TYP: Towards a less messy ``__init__.pyi``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27768 - TYP: type hierarchy of LinAlgError inconsistent between _linalg.py and __init__.pyi
Issue -
State: closed - Opened by lucastheisen about 1 year ago
- 1 comment
Labels: 00 - Bug, Static typing
#27767 - TYP: Support shape-typing in ``reshape`` and ``resize``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27767 - TYP: Support shape-typing in ``reshape`` and ``resize``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27765 - TYP: Shape-typed ``ndarray`` inplace binary operator methods.
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27765 - TYP: Shape-typed ``ndarray`` inplace binary operator methods.
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 2 comments
Labels: Static typing
#27758 - TYP: Remove ``ndarray`` binop overloads for ``NDArray[Never]``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27758 - TYP: Remove ``ndarray`` binop overloads for ``NDArray[Never]``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27757 - TYP: Remove the non-existent ``bitwise_count`` methods of ``ndarray`` and ``generic``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 3 comments
Labels: Static typing
#27757 - TYP: Remove the non-existent ``bitwise_count`` methods of ``ndarray`` and ``generic``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27756 - TYP: 1-d shape-typing for ``ndarray.flatten`` and ``ravel``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27756 - TYP: 1-d shape-typing for ``ndarray.flatten`` and ``ravel``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27755 - TYP: Annotate ``__setitem__``, ``__contains__`` and ``__iter__`` of ``ndarray``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27753 - TYP: Fix the annotations of ``ndarray.real`` and ``ndarray.imag``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27750 - TYP: Fix ``ndarray.item()`` and improve ``ndarray.tolist()``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27750 - TYP: Fix ``ndarray.item()`` and improve ``ndarray.tolist()``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 2 comments
Labels: Static typing
#27736 - TYP: Optional ``numpy.number`` type parameters
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27713 - TYP: `bool.__index__` annotation missing
Issue -
State: closed - Opened by randolf-scholz about 1 year ago
Labels: Static typing
#27691 - TYP: Use ``_typeshed`` to clean up the stubs
Issue -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27691 - TYP: Use ``_typeshed`` to clean up the stubs
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27683 - TYP: Improve `np.sum` and `np.mean` return types with given `dtype`
Pull Request -
State: closed - Opened by bersbersbers about 1 year ago
Labels: Static typing
#27683 - TYP: Improve `np.sum` and `np.mean` return types with given `dtype`
Pull Request -
State: closed - Opened by bersbersbers about 1 year ago
- 1 comment
Labels: Static typing
#27681 - TYP: Fix some inconsistencies in the scalar methods and properties
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 2 comments
Labels: Static typing
#27675 - TYPING: Improve ``np.sum`` and ``np.mean`` return types with given ``dtype``
Pull Request -
State: closed - Opened by bersbersbers about 1 year ago
- 1 comment
Labels: Static typing
#27667 - TYP: Allow returning non-array-likes from the ``apply_along_axis`` function
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27660 - TYP: ``numpy.apply_along_axis`` rejects functions that return ``None``
Issue -
State: closed - Opened by asarkar about 1 year ago
Labels: Static typing
#27659 - TYP: Transparent ``ndarray`` unary operator method signatures
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27659 - TYP: Transparent ``ndarray`` unary operator method signatures
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27653 - TYP: Fix Array API method signatures
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27653 - TYP: Fix Array API method signatures
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27652 - TYP,TST: Bump ``mypy`` from ``1.11.1`` to ``1.13.0``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: 05 - Testing, 03 - Maintenance, Static typing
#27652 - TYP,TST: Bump ``mypy`` from ``1.11.1`` to ``1.13.0``
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 9 comments
Labels: 05 - Testing, 03 - Maintenance, Static typing
#27638 - TYP: improve `np.sum` and `np.mean`'s return types with given `dtype`
Issue -
State: closed - Opened by bersbersbers about 1 year ago
- 2 comments
Labels: Static typing
#27632 - BFDI X 10
Issue -
State: closed - Opened by MunaAlaneme about 1 year ago
Labels: Static typing
#27521 - TYP: Fill in the missing ``__all__`` exports
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27521 - TYP: Fill in the missing ``__all__`` exports
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing
#27520 - TYP: Remove unused imports in the stubs
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 2 comments
Labels: Static typing
#27520 - TYP: Remove unused imports in the stubs
Pull Request -
State: closed - Opened by jorenham about 1 year ago
- 1 comment
Labels: Static typing
#27511 - TYP: Annotate type aliases without annotation
Pull Request -
State: closed - Opened by jorenham about 1 year ago
Labels: Static typing