mroeschke opened a new pull request, #50409: URL: https://github.com/apache/arrow/pull/50409
### Rationale for this change * Towards https://github.com/apache/arrow/issues/50398 ### What changes are included in this PR? This is an agent generated PR that swaps implementations to use CPython Limited APIs and required less reworks. * Replaced direct `Py_TYPE(obj)->tp_name` struct-field reads with a new limited-API helper (`PyObject_StdStringTypeName`, built on `PyType_GetName`) * Replaced direct `tp_as_number->nb_int` slot access with `PyType_GetSlot(..., Py_nb_int)` * Replaced the `PyType_HasFeature` macro with `PyType_GetFlags(...)` bit tests * Replaced several macros with their equivalent function forms * Replaced the static `PyTypeObject + PyStructSequence_InitType2` pattern with a cached `PyStructSequence_NewType` ### Are these changes tested? Yes ### Are there any user-facing changes? No -- 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]
