Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TYP: fix typing errors in numpy.lib._arrayterator_impl #28506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

jorenham
Copy link
Member

Ported from numpy/numtype#165


This ignores what needs to be ignored, fixes the (in)varianc type-parameters of Arrayterator (did I pronounce that right?). and makes the shape property and __array__ method shape-type-transparent.

@jorenham jorenham added 09 - Backport-Candidate PRs tagged should be backported 41 - Static typing numtype Isssue/PR related to numpy/numtype labels Mar 14, 2025
@charris charris merged commit c3d6548 into numpy:main Mar 14, 2025
75 checks passed
@charris
Copy link
Member

charris commented Mar 14, 2025

Thanks Joren

@jorenham jorenham deleted the numtype/165 branch March 14, 2025 20:05
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Mar 14, 2025
charris added a commit that referenced this pull request Mar 15, 2025
…28521)

* TYP: stub ``numpy._core.umath``

Backport of numpy/numtype#123

* TYP: fix typing errors in ``numpy.lib._arrayterator_impl``

Ported from numpy/numtype#165

* TYP: fix signatures of ``ndarray.put`` and ``ndarray.view``

partial port of numpy/numtype#200

* TYP: fix typing errors in ``_core.fromnumeric``

Partial port of numpy/numtype#221

* TYP: fix typing errors in ``_core.function_base``

Partial port of numpy/numtype#221

* TYP: add missing implicit re-exports in ``_core.numeric``

Partial port of numpy/numtype#221

* STY: fix `E203` flake8 error

---------

Co-authored-by: jorenham <jhammudoglu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
41 - Static typing numtype Isssue/PR related to numpy/numtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.