pitrou commented on issue #47337: URL: https://github.com/apache/arrow/issues/47337#issuecomment-3200863276
> It seems like all of the C++ functions exposed to Cython in [libarrow.pxd](https://github.com/apache/arrow/blob/cd8e6774dd02e1a32325c851c85a931276616cc2/python/pyarrow/includes/libarrow.pxd) don't currently catch C++ exceptions. Is that intentional? There are certainly cases where libarrow is doing validation of inputs that pyarrow is not, and forwarding along an exception would be a much nicer UX than aborting because `std::terminate` is called. Arrow C++ should normally not raise any exceptions, this is why they are not caught in Cython either. Is there a use case where you see a C++ exception raised? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
