[issue38499] Add rmtree() to pathlib.Path

Karthikeyan Singaravelan report at bugs.python.org
Wed Oct 16 13:11:11 EDT 2019


Karthikeyan Singaravelan <tir.karthi at 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 <report at bugs.python.org>
<https://bugs.python.org/issue38499>
_______________________________________


More information about the Python-bugs-list mailing list