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.

作者 neologix
收信人 Trundle, draghuram, eric.araujo, giampaolo.rodola, neologix, pitrou, r.david.murray, tarek, techtonik, vstinner
日期 2011-12-23.17:32:05
SpamBayes Score 0.00025235364
Marked as misclassified
Message-id <1324661526.62.0.617398808228.issue8828@psf.upfronthosting.co.za>
In-reply-to
内容
> 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).
历史
日期 用户 动作 参数
2011-12-23 17:32:06neologix修改recipients: + neologix, pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle
2011-12-23 17:32:06neologix修改messageid: <1324661526.62.0.617398808228.issue8828@psf.upfronthosting.co.za>
2011-12-23 17:32:06neologix链接issue8828 messages
2011-12-23 17:32:05neologix创建