[issue38499] Add rmtree() to pathlib.Path

Serhiy Storchaka report at bugs.python.org
Wed Oct 16 13:21:18 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Concur with Karthikeyan.

pathlib.Path provides an object oriented interface to file path operations and to low-level filesystem operations. rmtree() is a high-level and complex operation. Instead of adding more and more complex operations to the Path class we added support of Path (and more generally, path-like objects) in many other functions.

----------
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> pathlib.Path wants an rmtree method

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38499>
_______________________________________


More information about the Python-bugs-list mailing list