Describe the enhancement requested
The initialization of pyarrow calls InitDatetime which if it fails to import the PyDateTime CAPI capsule will call:
Py_FatalError("Could not import datetime C API")
Depending on conditions at the time of initialization, this will crash the calling process. Would it be possible to instead fail the import of pyarrow rather than trying to abort all Python execution?
Component(s)
Python