Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
I am against this. shutil provides higher level API than pathlib, and pathlib should not depend on shutil. pathlib.Path represents a path, and its methods usually does involve filesystem operations, or involve just a single filesystem operation. shutil.rmtree() is a complex operation that needs to perform several simple operations, and it should be together with other complex operations in the shutil module. ---------- nosy: +giampaolo.rodola, pitrou, tarek _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33498> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com