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.11:05:31
SpamBayes Score 1.0698251e-05
Marked as misclassified No
Message-id <1324638332.73.0.572042868043.issue8828@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-12-23 11:05:32pitrousetrecipients: + pitrou, vstinner, draghuram, techtonik, giampaolo.rodola, tarek, eric.araujo, r.david.murray, Trundle, neologix
2011-12-23 11:05:32pitrousetmessageid: <1324638332.73.0.572042868043.issue8828@psf.upfronthosting.co.za>
2011-12-23 11:05:32pitroulinkissue8828 messages
2011-12-23 11:05:31pitroucreate