Skip to content
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

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

Merged
merged 1 commit into from Jan 9, 2023

Conversation

charris
Copy link
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.

None yet

2 participants