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

API: Always use BufferError when dlpack export fails #22542

Merged
merged 1 commit into from Nov 7, 2022

Conversation

seberg
Copy link
Member

@seberg seberg commented Nov 7, 2022

See also data-apis/array-api#498.

I think we should just change this. It is a niche feature and just an error type change.

Closes gh-20742

See also data-apis/array-api#498.

I think we should just change this.  It is a niche feature and just
an error type change.

Closes numpygh-20742
@charris charris merged commit 9399106 into numpy:main Nov 7, 2022
@charris
Copy link
Member

charris commented Nov 7, 2022

Thanks Sebastian.

@seberg seberg deleted the dlpack-buffererror branch November 8, 2022 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DLPack cannot export readonly buffers and raises wrong exception
2 participants