Message150193
> 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. |
|
Date |
User |
Action |
Args |
2011-12-23 19:35:54 | pitrou | set | recipients:
+ pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle, neologix |
2011-12-23 19:35:53 | pitrou | link | issue8828 messages |
2011-12-23 19:35:53 | pitrou | create | |
|