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.

作者 pitrou
收信人 Trundle, draghuram, eric.araujo, giampaolo.rodola, neologix, pitrou, r.david.murray, tarek, techtonik, vstinner
日期 2011-12-23.19:35:53
SpamBayes Score 8.7024694e-07
Marked as misclassified
Message-id <1324668907.3388.54.camel@localhost.localdomain>
In-reply-to <CAPkN8xK_GvRps1CXHPUb2=wYExpy0pHxNUoh6NqnYg7h8qzpfg@mail.gmail.com>
内容
> os.rename(overwrite=False) by default will do less harm than the opposite,

Disagreed.

> Then I believe that having a small chance of overwriting file just created
> at exactly the same moment on a POSIX is a small price to pay for function
> that does safety check before rename on a platform that doesn't have such
> functionality at all.

Disagreed.
If you need the functionality, it's *one* additional line of code. Not
every trivial function deserves to be in the stdlib.
历史
日期 用户 动作 参数
2011-12-23 19:35:54pitrou修改recipients: + pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle, neologix
2011-12-23 19:35:53pitrou链接issue8828 messages
2011-12-23 19:35:53pitrou创建