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: Add support for dir_fd in shutil.rmtree()
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: serhiy.storchaka, ukarroum
Priority: normal Keywords: patch

Created on 2022-01-03 18:08 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30386 closed ukarroum, 2022-01-04 07:12
PR 30365 merged serhiy.storchaka, 2022-01-04 07:48
Messages (4)
msg409599 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2022-01-03 18:08
It is necessary in particularly for supporting dir_fd in the tempfile module (issue25927).
msg409650 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2022-01-04 07:50
I am sorry, I implemented this feature before opening this issue, but due to typo the PR was not linked here.
msg409662 - (view) Author: Yassir Karroum (ukarroum) * Date: 2022-01-04 10:14
No problem, I'll resume working on issue25927, thanks for the fix.
msg414799 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2022-03-09 12:29
New changeset 02fbaf4887deaf0207a5805d3736e0124a694c14 by Serhiy Storchaka in branch 'main':
bpo-46245: Add optional parameter dir_fd in shutil.rmtree() (GH-30365)
https://github.com/python/cpython/commit/02fbaf4887deaf0207a5805d3736e0124a694c14
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90403
2022-03-09 12:30:32serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-03-09 12:29:39serhiy.storchakasetmessages: + msg414799
2022-01-04 10:14:19ukarroumsetmessages: + msg409662
2022-01-04 07:50:55serhiy.storchakasetmessages: + msg409650
2022-01-04 07:48:59serhiy.storchakasetpull_requests: + pull_request28596
2022-01-04 07:12:34ukarroumsetkeywords: + patch
nosy: + ukarroum

pull_requests: + pull_request28594
stage: patch review
2022-01-03 18:08:29serhiy.storchakalinkissue25927 dependencies
2022-01-03 18:08:18serhiy.storchakacreate