Message150188
| Author |
neologix |
| Recipients |
Trundle, draghuram, eric.araujo, giampaolo.rodola, neologix, pitrou, r.david.murray, tarek, techtonik, vstinner |
| Date |
2011年12月23日.17:32:05 |
| SpamBayes Score |
0.00025235364 |
| Marked as misclassified |
No |
| Message-id |
<1324661526.62.0.617398808228.issue8828@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I propose quite the opposite. rename() should not overwrite existing
> files by default.
1. That's not what I understood from:
> os.rename(overwrite=True) to produce consistent cross-platform
> behavior.
2. The above argument on backward incompatible change applies in exactly the same way (just exchange Windows for POSIX).
3. As explained above, it can not be done reliably on POSIX (TOCTTOU race). |
|