Author Oz.Tiram
Recipients Oz.Tiram, barneygale
Date 2022-01-14.19:45:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642189501.21.0.68231289062.issue46317@roundup.psfhosted.org>
In-reply-to
Content
@barney, I am not sure that I understand your question.

I think adding another method `Pathlib.Path` and `Pathlib._Accessor` is my preferred way. The would be something like:

    class _NormalAccessor(_Accessor):
       ...
       self.move = shutil.move
    

    class Path:
       ....

       def move(self, src, dest):
          self._accessor.move(self, target)
          return self.__class__(target)


Now, this is hardly a patch. I need to submit a PR with proper docs, tests and NEWS entry... I will be glad to work on it. However, I guess I need someone to "sponsor" it and merge it.
History
Date User Action Args
2022-01-14 19:45:01Oz.Tiramsetrecipients: + Oz.Tiram, barneygale
2022-01-14 19:45:01Oz.Tiramsetmessageid: <1642189501.21.0.68231289062.issue46317@roundup.psfhosted.org>
2022-01-14 19:45:01Oz.Tiramlinkissue46317 messages
2022-01-14 19:45:01Oz.Tiramcreate