lysnikolaou commented on code in PR #43540:
URL: https://github.com/apache/arrow/pull/43540#discussion_r1705778039


##########
python/pyarrow/src/arrow/python/pythoncapi_compat.h:
##########
@@ -0,0 +1,1513 @@
+// Header file providing new C API functions to old Python versions.
+//
+// File distributed under the Zero Clause BSD (0BSD) license.
+// Copyright Contributors to the pythoncapi_compat project.
+//
+// Homepage:
+// https://github.com/python/pythoncapi_compat
+//
+// Latest version:
+// 
https://raw.githubusercontent.com/python/pythoncapi_compat/master/pythoncapi_compat.h
+//
+// SPDX-License-Identifier: 0BSD
+

Review Comment:
   Done.



##########
python/pyarrow/src/arrow/python/platform.h:
##########
@@ -24,7 +24,7 @@
 // to mean Py_ssize_t (defining this to suppress deprecation warning)
 #define PY_SSIZE_T_CLEAN
 
-#include <Python.h>  // IWYU pragma: export
+#include "arrow/python/pythoncapi_compat.h"  // IWYU pragma: export

Review Comment:
   Done.



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