Use Py_off_t type (64 bits) instead of off_t (32 bits).
Attach a file by drag & drop or click to upload