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.000252354
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).
History
Date User Action Args
2011-12-23 17:32:06neologixsetrecipients: + neologix, pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle
2011-12-23 17:32:06neologixsetmessageid: <1324661526.62.0.617398808228.issue8828@psf.upfronthosting.co.za>
2011-12-23 17:32:06neologixlinkissue8828 messages
2011-12-23 17:32:05neologixcreate