Skip to content

pyarrow: Wrap capsule extraction errors into an explicit error#9660

Draft
Tpt wants to merge 1 commit intoapache:mainfrom
Tpt:tpt/pyarrow-capsule
Draft

pyarrow: Wrap capsule extraction errors into an explicit error#9660
Tpt wants to merge 1 commit intoapache:mainfrom
Tpt:tpt/pyarrow-capsule

Conversation

@Tpt
Copy link
Copy Markdown
Contributor

@Tpt Tpt commented Apr 3, 2026

Remove validate_pycapsule: pointer_checked already raises an exception if the capsule type is wrong, and we wrap it into a nicer error

Because we wrap the exception (equivalent of raise X from Y, the original exception is still there)

Follow up of #9639 #9594

@Tpt Tpt force-pushed the tpt/pyarrow-capsule branch from a11d018 to aa910ff Compare April 3, 2026 15:47
Remove validate_pycapsule: pointer_checked already raises an exception if the capsule type is wrong, and we wrap it into a nicer error
@Tpt Tpt force-pushed the tpt/pyarrow-capsule branch from aa910ff to 61391e3 Compare April 4, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant