jorisvandenbossche commented on code in PR #43540:
URL: https://github.com/apache/arrow/pull/43540#discussion_r1705711183
##########
python/pyarrow/src/arrow/python/deserialize.cc:
##########
@@ -88,8 +88,19 @@ Status DeserializeDict(PyObject* context, const Array&
array, int64_t start_idx,
// The latter two steal references whereas PyDict_SetItem does not. So we
need
// to make sure the reference count is decremented by letting the OwnedRef
// go out of scope at the end.
- int ret = PyDict_SetItem(result.obj(), PyList_GET_ITEM(keys.obj(), i -
start_idx),
- PyList_GET_ITEM(vals.obj(), i - start_idx));
+ PyObject *key, *val;
Review Comment:
-> https://github.com/apache/arrow/issues/43587
--
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]