dorodo0721 opened a new pull request, #55964:
URL: https://github.com/apache/arrow/pull/55964

   ### Rationale for this change
   
   Some libarrow_python functions that interact with Python objects or Python C 
APIs are declared `nogil`, even though they require the GIL.
   
   ### What changes are included in this PR?
   
   Move those declarations out of `nogil` blocks and update their call sites. 
Keep the pandas conversion functions declared `nogil` because their 
implementations may run work on helper threads that acquire the GIL.
   
   ### Are these changes tested?
   
   - Built the PyArrow wheel successfully after rebasing.
   - Ran smoke tests for NumPy array conversion, datetime scalar conversion, 
and tensor conversion.
   - Focused tests passed after rebasing: 144 passed, 20 skipped.
   
   ### Are there any user-facing changes?
   
   No.
   
   ### Was AI used for this PR?
   
   **PR code and description written by:**
   
   - [ ] Human
   - [x] AI
   
   **Reviewed before submission by:**
   
   - [ ] Human
   - [x] AI
   - [x] Not reviewed
   
   * GitHub Issue: Closes #31597


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