Skip to content

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

Merged
charris merged 1 commit into
numpy:maintenance/2.4.xfrom
jorenham:backport-31161
Apr 11, 2026
Merged

TYP: tile: accept numpy scalars and arrays as second argument (#31161)#31209
charris merged 1 commit into
numpy:maintenance/2.4.xfrom
jorenham:backport-31161

Conversation

@jorenham
Copy link
Copy Markdown
Member

Backport of #31161


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 this to the 2.4.5 release milestone Apr 10, 2026
@jorenham jorenham added 08 - Backport Used to tag backport PRs 41 - Static typing labels Apr 10, 2026
@charris charris merged commit fbe39b8 into numpy:maintenance/2.4.x Apr 11, 2026
12 checks passed
@charris
Copy link
Copy Markdown
Member

charris commented Apr 11, 2026

Thanks Joren.

@jorenham jorenham deleted the backport-31161 branch April 11, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

08 - Backport Used to tag backport PRs 41 - Static typing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants