Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dir_fd in shutil.rmtree() #90403

Closed
serhiy-storchaka opened this issue Jan 3, 2022 · 4 comments
Closed

Add support for dir_fd in shutil.rmtree() #90403

serhiy-storchaka opened this issue Jan 3, 2022 · 4 comments
Labels
3.11 bug and security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 46245
Nosy @serhiy-storchaka, @ukarroum
PRs
  • bpo-46245: Add support for dir_fd in shutil.rmtree() #30386
  • bpo-46245: Add optional parameter dir_fd in shutil.rmtree() #30365
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-03-09.12:30:32.780>
    created_at = <Date 2022-01-03.18:08:18.405>
    labels = ['type-feature', 'library', '3.11']
    title = 'Add support for dir_fd in shutil.rmtree()'
    updated_at = <Date 2022-03-09.12:30:32.779>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2022-03-09.12:30:32.779>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-09.12:30:32.780>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2022-01-03.18:08:18.405>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46245
    keywords = ['patch']
    message_count = 4.0
    messages = ['409599', '409650', '409662', '414799']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'ukarroum']
    pr_nums = ['30386', '30365']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue46245'
    versions = ['Python 3.11']

    @serhiy-storchaka
    Copy link
    Member Author

    It is necessary in particularly for supporting dir_fd in the tempfile module (bpo-25927).

    @serhiy-storchaka serhiy-storchaka added 3.11 bug and security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jan 3, 2022
    @serhiy-storchaka
    Copy link
    Member Author

    I am sorry, I implemented this feature before opening this issue, but due to typo the PR was not linked here.

    @ukarroum
    Copy link
    Mannequin

    ukarroum mannequin commented Jan 4, 2022

    No problem, I'll resume working on bpo-25927, thanks for the fix.

    @serhiy-storchaka
    Copy link
    Member Author

    New changeset 02fbaf4 by Serhiy Storchaka in branch 'main':
    bpo-46245: Add optional parameter dir_fd in shutil.rmtree() (GH-30365)
    02fbaf4

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 bug and security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant