Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
There is shutil.rmtree that accepts path objects and is more high level. From the previous discussions with respect to expanding API it's recommended to change the functions already present to accept path objects which shutil.rmtree already does and not to expand pathlib API. Some related discussions : * https://mail.python.org/pipermail/python-ideas/2015-June/034236.html * https://mail.python.org/pipermail/python-dev/2016-April/143866.html ---------- nosy: +pitrou, serhiy.storchaka, xtreak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38499> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com