Message 150149 - Python tracker (original) (raw)

So how about providing a new public os module function doing a rename-with-overwrite on all platforms? We could name it e.g. os.replace(). os.rename_overwrite() is another possibility, more explicit but also longer.