This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients flavio.ribeiro, hltbra, ned.deily, r.david.murray, ronaldoussoren, tati_alchueyr
Date 2012-07-20.06:12:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342764728.18.0.00483377862974.issue15398@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-07-20 06:12:08ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, r.david.murray, tati_alchueyr, flavio.ribeiro, hltbra
2012-07-20 06:12:08ronaldoussorensetmessageid: <1342764728.18.0.00483377862974.issue15398@psf.upfronthosting.co.za>
2012-07-20 06:12:07ronaldoussorenlinkissue15398 messages
2012-07-20 06:12:06ronaldoussorencreate