aosingh opened a new pull request, #512: URL: https://github.com/apache/arrow-nanoarrow/pull/512
Using `datetime.timestamp()` for timestamps close to EPOCH fails on Windows crashing Python. Please check this run https://github.com/apache/arrow-nanoarrow/actions/runs/9428246621/job/25973355558 Following snippet ```python def test_c_array_timestamp_microseconds(): d1 = int(round(datetime(1970, 1, 1).timestamp() * 1e6)) ``` raises error ```bash OSError: [Errno 22] Invalid argument ``` The crux of the problem is explained in this [CPython issue](https://github.com/python/cpython/issues/81708) -- 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]
