Ronald Oussoren <ronaldousso...@mac.com> added the comment:

Whether or not rename is atomic should be irrelevant for test_rename. 
Test_rename "just" performs renames in a tight loop and doesn't do concurrent 
access from another thread.

The test result seems to indicate that rename() sometimes isn't done yet when 
the sys call returns (or even that it fails silently), which would be even 
worse than it not being atomic.

That said, I cannot reproduce using Python 3.3.0b1 (default:abc26b51fbfc, Jul 
20 2012, 07:50:15) on an OSX 10.7 system.

I'm currently rebuilding for a test run on a OSX 10.5.8 machine on real 
hardware.

----------

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

Reply via email to