scw commented on code in PR #48258:
URL: https://github.com/apache/arrow/pull/48258#discussion_r2582052752
##########
python/pyarrow/src/arrow/python/pyarrow.cc:
##########
@@ -46,6 +46,9 @@ int import_pyarrow() {
#else
internal::InitDatetime();
#endif
+ if (PyErr_Occurred()) {
Review Comment:
OK, I made that change — this is admittedly a bit of a drive-by PR, so
if you'd like me to dig into the internals more and make a better
implementation, I can spend the time to do so.
--
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]