This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Missing path-like versionchanged in shutil.rmtree
Type: Stage: resolved
Components: Documentation Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, scop, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2020-05-11 05:09 by scop, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 20032 closed scop, 2020-05-11 05:11
Messages (2)
msg368613 - (view) Author: Ville Skyttä (scop) * Date: 2020-05-11 05:09
shutil.rmtree takes a path-like object starting from 3.6 (due to internal use of os.lstat which does that too).
msg368720 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-05-12 10:50
Thank you for your PR Ville, but I think this change cannot be accept.

There was a ton of functions which became supporting path-like objects in 3.6. We deliberately did not add versionchanged directives to them because it would just add a noise.

shutil.rmtree() is not special. If we decide to add versionchanged for it, we would need to add versionchanged to many tens or hundreds of other functions and methods.
History
Date User Action Args
2022-04-11 14:59:30adminsetgithub: 84769
2020-05-12 10:50:50serhiy.storchakasetstatus: open -> closed

nosy: + serhiy.storchaka
messages: + msg368720

resolution: rejected
stage: patch review -> resolved
2020-05-11 05:11:16scopsetkeywords: + patch
stage: patch review
pull_requests: + pull_request19341
2020-05-11 05:09:40scopcreate