STINNER Victor added the comment:

It looks like each platform and each filesystem behave differently, with subtle 
differencies with different kernel versions. I'm not more sure that the Python 
stdlib is the best place to host an implementation of an "atomic write" API.

I now suggest to create a project on PyPI, play with it, try to handle as much 
platforms as possible, etc. Then when it is considered as stable and robust 
enough, propose to integrate it to the Python stdlib.

Python stdlib is not the best place for best effort algorithm, we prefer to 
only add reliable and portable code. And leave "other code" outside the stdlib.

----------
resolution:  -> out of date
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8604>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to