thisisnic commented on issue #31597: URL: https://github.com/apache/arrow/issues/31597#issuecomment-7132422023
This is still the case on main: `python/pyarrow/includes/libarrow_python.pxd` has a `# TODO Some functions below are not actually "nogil"` in the `arrow::py` block, which is declared `nogil` but contains functions that take `object` or `PyObject**` (e.g. `ConvertPySequence`, `NdarrayToArrow`, `TensorToNdarray`), and the `arrow::py::internal` block has `TzinfoToString` and `StringToTzinfo`. The fix is to move those declarations into blocks without `nogil`. I've relabelled this as an enhancement since I haven't found anything that misbehaves today. -- 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]
