add dir_fd for mkstemp, and also maybe to all tempfile.*

Open
#70,115 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

No files or tests are named. Start with Python's tempfile module and review PR #31785, then determine the intended dir_fd scope beyond mkstemp. Done means the agreed tempfile APIs support the requested behavior with corresponding coverage.

Written by the indexing model from the issue text.

Description

3.11 stdlib type-feature
BPO 25927
Nosy @ncoghlan, @socketpair, @serhiy-storchaka, @ukarroum
PRs
  • python/cpython#31785
  • Dependencies
  • bpo-46245: Add support for dir_fd in shutil.rmtree()
  • 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 = None
    created_at = <Date 2015-12-22.19:57:01.835>
    labels = ['type-feature', 'library', '3.11']
    title = 'add dir_fd for mkstemp, and also maybe to all tempfile.*'
    updated_at = <Date 2022-03-09.14:28:05.687>
    user = 'https://github.com/socketpair'
    

    bugs.python.org fields:

    activity = <Date 2022-03-09.14:28:05.687>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-12-22.19:57:01.835>
    creator = 'socketpair'
    dependencies = ['46245']
    files = []
    hgrepos = []
    issue_num = 25927
    keywords = ['patch']
    message_count = 9.0
    messages = ['256856', '256864', '257143', '257148', '409566', '409577', '409666', '409670', '414802']
    nosy_count = 4.0
    nosy_names = ['ncoghlan', 'socketpair', 'serhiy.storchaka', 'ukarroum']
    pr_nums = ['31785']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue25927'
    versions = ['Python 3.11']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.