On Mon, Nov 23, 2020 at 11:37 AM Todd <[email protected]> wrote: >> It might be worth looking at this as "making shutil support Path >> objects", and then have the Path objects grow methods that delegate to >> shutil. That'd avoid duplicating logic eg for rmtree and copyfile. > > > shutil already supports Path objects. And yes, I was planning to delegate > the logic to existing functions there or in "os".
Oh, okay. That should make this a lot easier then. +1. I wasn't sure. ChrisA _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/FTCGJAITMNMB3IMZGFIX5G36TTWFSPSA/ Code of Conduct: http://python.org/psf/codeofconduct/
