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 r.david.murray
Recipients albertogomcas, docs@python, r.david.murray
Date 2017-08-09.13:30:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502285418.78.0.945007660307.issue31154@psf.upfronthosting.co.za>
In-reply-to
Content
Both the replace and rename functions will remain in the API, as they mirror the os module, not the os itself.  I agree that the naming is unfortunate, but it has the weight of history behind it, so we are stuck with it.  Issue 24229 rejected adding a copy method.  

Having replace and rename return a value strikes me as a good idea.  Please open a separate issue with that enhancement proposal, and nosy 'pitrou', who is the author of the pathlib module.
History
Date User Action Args
2017-08-09 13:30:18r.david.murraysetrecipients: + r.david.murray, docs@python, albertogomcas
2017-08-09 13:30:18r.david.murraysetmessageid: <1502285418.78.0.945007660307.issue31154@psf.upfronthosting.co.za>
2017-08-09 13:30:18r.david.murraylinkissue31154 messages
2017-08-09 13:30:18r.david.murraycreate