Tpt opened a new pull request, #9594:
URL: https://github.com/apache/arrow-rs/pull/9594

   # Rationale for this change
   
   Makes the code simpler and more readable by relying on new PyO3 and Rust 
features. No behavior should have changed outside of an error message if 
`__arrow_c_array__` does not return a tuple
   
   # What changes are included in this PR?
   
   - use `.call_method0(M)?` instead of `.getattr(M)?.call0()`
   - Use `.extract()` that allows more advanced features like directly 
extracting tuple elements
   - remove temporary variables just before returning
   - use &raw const and &raw mut pointers instead of casting and addr_of!
   


-- 
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]

Reply via email to