dmyersturnbull opened a new issue #9628: URL: https://github.com/apache/arrow/issues/9628
I'm happy to fill this out on Jira and/or to submit a pull request. I just can't log in to the Jira right now -- as soon as I log in it "forgets". Two related issues about [write_feather](https://github.com/apache/arrow/blob/b8b44197866242aa1fec6a7f76e3e1005ac3c6de/python/pyarrow/feather.py#L119). #### pathlib `write_feather` could accept a `pathlib.PurePath` since Python 3.6+ is already required. #### files are deleted On error, write_feather will delete a file that already existed. Suppose some code is supposed to read `myfile.feather`, update it, and write it back. If the writer throws an error, the original copy of `myfile.feather` is deleted. [Here's the culprit](https://github.com/apache/arrow/blob/b8b44197866242aa1fec6a7f76e3e1005ac3c6de/python/pyarrow/feather.py#L185). ```python except Exception: if isinstance(dest, str): try: os.remove(dest) except os.error: pass raise ```python ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org