pitrou commented on code in PR #43606:
URL: https://github.com/apache/arrow/pull/43606#discussion_r1707267265


##########
python/CMakeLists.txt:
##########
@@ -855,6 +856,10 @@ set(CYTHON_FLAGS "${CYTHON_FLAGS}" "--warning-errors")
 # undocumented Cython feature.
 set(CYTHON_FLAGS "${CYTHON_FLAGS}" "--no-c-in-traceback")
 
+if(CYTHON_VERSION VERSION_GREATER_EQUAL "3.1.0a0")
+  set(CYTHON_FLAGS "${CYTHON_FLAGS}" "-Xfreethreading_compatible=True")

Review Comment:
   Ok, thanks. Is it useful to enable it in PyArrow? Most performance-critical 
code in PyArrow is inside Arrow C++, which we usually call with the GIL 
released anyway.



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