TemporaryDirectory does not resolve path when created using a relative path

Open
#64,466 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reading the issue and the referenced tempfile_01.patch and tempfile_02.patch for the proposed handling of relative paths. Review the tempfile library implementation and its existing tests, then verify that TemporaryDirectory created with a relative path resolves that path as requested.

Written by the indexing model from the issue text.

Description

stdlib
BPO 20267
Nosy @birkenfeld, @ncoghlan, @pitrou, @serhiy-storchaka, @1st1, @anntzer
Files
  • tempfile_01.patch
  • tempfile_02.patch
  • 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 2014-01-15.04:48:28.375>
    labels = ['library']
    title = 'TemporaryDirectory does not resolve path when created using a relative path'
    updated_at = <Date 2014-10-05.00:20:00.718>
    user = 'https://github.com/anntzer'
    

    bugs.python.org fields:

    activity = <Date 2014-10-05.00:20:00.718>
    actor = 'Antony.Lee'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2014-01-15.04:48:28.375>
    creator = 'Antony.Lee'
    dependencies = []
    files = ['33570', '36740']
    hgrepos = []
    issue_num = 20267
    keywords = ['patch']
    message_count = 13.0
    messages = ['208141', '208571', '208591', '210581', '210589', '227649', '227653', '227659', '227662', '227665', '227701', '228459', '228513']
    nosy_count = 6.0
    nosy_names = ['georg.brandl', 'ncoghlan', 'pitrou', 'serhiy.storchaka', 'yselivanov', 'Antony.Lee']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue20267'
    versions = ['Python 3.5']
    

    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.