Message300001
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. |
|
Date |
User |
Action |
Args |
2017-08-09 13:30:18 | r.david.murray | set | recipients:
+ r.david.murray, docs@python, albertogomcas |
2017-08-09 13:30:18 | r.david.murray | set | messageid: <1502285418.78.0.945007660307.issue31154@psf.upfronthosting.co.za> |
2017-08-09 13:30:18 | r.david.murray | link | issue31154 messages |
2017-08-09 13:30:18 | r.david.murray | create | |
|