Message106604
| Author | pitrou |
|---|---|
| Recipients | Trundle, giampaolo.rodola, pitrou, tarek, vstinner |
| Date | 2010-05-27.10:44:18 |
| SpamBayes Score | 0.15531689 |
| Marked as misclassified | No |
| Message-id | <1274957061.05.0.103779954667.issue8828@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It seems you are proposing to call "atomic" something which isn't atomic:
def atomic_rename(src, dst):
if os.path.exists(dst):
old = _create_old_filename(dst)
rename(dst, old)
rename(src, dst)
unlink(old) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-05-27 10:44:21 | pitrou | set | recipients: + pitrou, vstinner, giampaolo.rodola, tarek, Trundle |
| 2010-05-27 10:44:21 | pitrou | set | messageid: <1274957061.05.0.103779954667.issue8828@psf.upfronthosting.co.za> |
| 2010-05-27 10:44:19 | pitrou | link | issue8828 messages |
| 2010-05-27 10:44:18 | pitrou | create | |