[Python-Dev] unifying os.rename semantics across platform

Guido van Rossum guido@digicool.com
Wed, 23 May 2001 09:52:02 -0400


> May I suggest to add an optional third boolean parameter to
> os.rename called 'replace', which defaults either to TRUE or FALSE,
> so modifying existing apps will become even less hassle to potential
> porters.

I see no reason to change the API.

In any case, for backwards compatibility, the default would have to be
platform dependent, which strikes me as just as bad as the current
situation.

--Guido van Rossum (home page: http://www.python.org/~guido/)