Skip to content

TYP: fix typing errors in numpy.ndarray#28540

Merged
charris merged 1 commit intonumpy:mainfrom
jorenham:numtype/200
Mar 15, 2025
Merged

TYP: fix typing errors in numpy.ndarray#28540
charris merged 1 commit intonumpy:mainfrom
jorenham:numtype/200

Conversation

@jorenham
Copy link
Copy Markdown
Member

Ported from numpy/numtype#200


This fixes 0d string array builtin number conversions like int(np.array("1")) from being rejected by the pyright versions.

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

charris commented Mar 15, 2025

Thanks Joren.

@jorenham jorenham deleted the numtype/200 branch March 15, 2025 23:52
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Mar 16, 2025
charris pushed a commit to charris/numpy that referenced this pull request Mar 16, 2025
MaanasArora pushed a commit to MaanasArora/numpy that referenced this pull request Apr 11, 2025
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