Skip to content

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

Closed

Description

@serhiy-storchaka
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']

    Activity

    1. serhiy-storchaka commented on Jan 3, 2022

      @serhiy-storchaka
      MemberAuthor

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

    2. added
      3.11
      stdlib
      type-feature
      on Jan 3, 2022
    3. serhiy-storchaka commented on Jan 4, 2022

      @serhiy-storchaka
      MemberAuthor

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

    4. ukarroum commented on Jan 4, 2022

      ukarroummannequin
      Mannequin

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

    5. serhiy-storchaka commented on Mar 9, 2022

      @serhiy-storchaka
      MemberAuthor

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

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11stdlibtype-feature

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions