Giovanni Pizzi added the comment:
Thanks for your feedback!
I also just reported the issue to Apple. For reference I got the Feedback ID
FB8009608.
I will let you know if they answer.
In any case I agree that also your other error is unexpected.
I am writing a library that should provide
New submission from Giovanni Pizzi :
Hello,
when creating deleting (with `os.remove`/`os.unlink`) a file and opening it in
a different process at (almost) the same time, on Mac OS X relatively often I
get a file that is empty instead of either a `FileNotFoundError` exception, or
an open