Author albertogomcas
Recipients albertogomcas, docs@python, pitrou
Date 2017-08-09.15:32:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Extracted from issue31154

Both calls lack any kind of return, which leads me to expect after a rename/replace the Path instance would be changed to the new path. This is not the case (reading the PEP I have seen Path instances are kind of immutable), after the call the Path instance keeps "pointing" to the previous (and quite likely now useless) path. 

Returning the new path would be a reasonable option. In any case, I think the documentation should mention this behavior explicitly.
Date User Action Args
2017-08-09 15:32:24albertogomcassetrecipients: + albertogomcas, pitrou, docs@python
2017-08-09 15:32:24albertogomcassetmessageid: <>
2017-08-09 15:32:24albertogomcaslinkissue31163 messages
2017-08-09 15:32:24albertogomcascreate