Message150188
> 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). |
|
Date |
User |
Action |
Args |
2011-12-23 17:32:06 | neologix | set | recipients:
+ neologix, pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle |
2011-12-23 17:32:06 | neologix | set | messageid: <1324661526.62.0.617398808228.issue8828@psf.upfronthosting.co.za> |
2011-12-23 17:32:06 | neologix | link | issue8828 messages |
2011-12-23 17:32:05 | neologix | create | |
|