Skip to content

BUG: Fix fill violating read-only flag. (#22959)#22970

Merged
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
charris:backport-22959
Jan 9, 2023
Merged

BUG: Fix fill violating read-only flag. (#22959)#22970
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
charris:backport-22959

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jan 8, 2023

Backport of #22959.

Co-authored-by: Sebastian Berg sebastian@sipsolutions.net

PyArray_FillWithScalar checks if destination is writeable before attempting to fill it.  A relevant test is added as a method of TestRegression

Closes numpygh-22922

Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jan 8, 2023
@charris charris added this to the 1.24.2 release milestone Jan 8, 2023
@charris charris changed the title Bug: Fix fill violating read-only flag. (#22959) BUG: Fix fill violating read-only flag. (#22959) Jan 8, 2023
@charris charris merged commit d979064 into numpy:maintenance/1.24.x Jan 9, 2023
@charris charris deleted the backport-22959 branch January 9, 2023 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants