[issue15398] intermittence on UnicodeFileTests.test_rename at test_pep277 on MacOS X

Ronald Oussoren report at bugs.python.org
Fri Jul 20 08:12:08 CEST 2012


Ronald Oussoren <ronaldoussoren at 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 <report at bugs.python.org>
<http://bugs.python.org/issue15398>
_______________________________________


More information about the Python-bugs-list mailing list