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.

Author pitrou
Recipients Trundle, draghuram, eric.araujo, giampaolo.rodola, neologix, pitrou, r.david.murray, tarek, techtonik, vstinner
Date 2011-12-23.16:30:43
SpamBayes Score 1.2009639e-07
Marked as misclassified No
Message-id <1324657797.3388.49.camel@localhost.localdomain>
In-reply-to <1324657345.3.0.348606871931.issue8828@psf.upfronthosting.co.za>
Content
> I'm good with None/True, but that would imply that for posix rename
> we'll need to implement the overwrite=False option...which would be a
> nice thing (the shell mv command has -i for that).

My point was rather to forbid False as a value (on all OSes) :)

> I think a warning would be good, because a unix programmer will assume
> rename will work the same on windows as it does on posix, and vice
> versa for a windows programmer.

It is already documented. I don't think we want to add a warning for
every documented peculiar piece of behaviour.
History
Date User Action Args
2011-12-23 16:30:43pitrousetrecipients: + pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle, neologix
2011-12-23 16:30:43pitroulinkissue8828 messages
2011-12-23 16:30:43pitroucreate