On Mon, Jul 9, 2012 at 8:24 PM, John Nagle <na...@animats.com> wrote:

> On 7/8/2012 2:52 PM, Christian Heimes wrote:
>
>> You are contradicting yourself. Either the OS is providing a fully
>> atomic rename or it doesn't. All POSIX compatible OS provide an atomic
>> rename functionality that renames the file atomically or fails without
>> loosing the target side. On POSIX OS it doesn't matter if the target
>> exists.
>>
>
>     Rename on some file system types (particularly NFS) may not be atomic.
>

Actually, ISTR that rename() is one of the few things on NFS that is
atomic.

http://bugs.python.org/issue8828
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to