Skip to content

TYP: tile: accept numpy scalars and arrays as second argument#31161

Merged
charris merged 1 commit into
numpy:mainfrom
jorenham:typing/tile-fix
Apr 6, 2026
Merged

TYP: tile: accept numpy scalars and arrays as second argument#31161
charris merged 1 commit into
numpy:mainfrom
jorenham:typing/tile-fix

Conversation

@jorenham

@jorenham jorenham commented Apr 5, 2026

Copy link
Copy Markdown
Member

This fixes an issue in np.tile where it incorrectly rejected numpy integer scalars or arrays as second (reps) argument.

ref: #31160 (comment)

I'm not sure if there'll be a 2.4.5, so I marked this as backport candidate just in case there will be. It's not a very big issue though, so it's also fine to instead wait for 2.5.0 if that's easier.

AI Disclosure

N/A

@jorenham jorenham added 09 - Backport-Candidate PRs tagged should be backported 41 - Static typing labels Apr 5, 2026
@charris charris merged commit 8203da6 into numpy:main Apr 6, 2026
15 checks passed
@charris

charris commented Apr 6, 2026

Copy link
Copy Markdown
Member

There will definitly be a 2.4.5 and maybe a 2.4.6

@charris

charris commented Apr 6, 2026

Copy link
Copy Markdown
Member

Thanks Joren.

@jorenham jorenham deleted the typing/tile-fix branch April 6, 2026 09:17
@jorenham

Copy link
Copy Markdown
Member Author

I'll backport this one @charris

jorenham added a commit to jorenham/numpy that referenced this pull request Apr 10, 2026
@jorenham jorenham removed the 09 - Backport-Candidate PRs tagged should be backported label Apr 10, 2026
charris added a commit that referenced this pull request Apr 11, 2026
TYP: ``tile``: accept numpy scalars and arrays as second argument (#31161)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants