os.walk always follows Windows junctions

Open
#67,596 21 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start with the os.walk entry point and read the linked issue23407 patches, especially in light of the dependency on bpo-29248. Confirm the intended Windows junction behavior and identify the relevant test coverage before making changes; done means the agreed junction behavior is covered and works on Windows.

Written by the indexing model from the issue text.

Description

3.10 3.8 (EOL) 3.9 (EOL) OS-windows stdlib type-feature
BPO 23407
Nosy @tjguk, @zware, @eryksun, @zooba, @jamercee, @efahl
Dependencies
  • bpo-29248: os.readlink fails on Windows
  • Files
  • issue23407.patch
  • issue23407-2.patch
  • issue23407-3.patch
  • issue23407-4.patch
  • issue23407-5.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 2015-02-07.20:59:23.788>
    labels = ['3.8', '3.9', '3.10', 'type-feature', 'library', 'OS-windows']
    title = 'os.walk always follows Windows junctions'
    updated_at = <Date 2021-05-02.08:29:08.115>
    user = 'https://bugs.python.org/craigh'
    

    bugs.python.org fields:

    activity = <Date 2021-05-02.08:29:08.115>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2015-02-07.20:59:23.788>
    creator = 'craigh'
    dependencies = ['29248']
    files = ['44823', '44824', '46289', '46291', '46718']
    hgrepos = []
    issue_num = 23407
    keywords = ['patch']
    message_count = 16.0
    messages = ['235531', '235533', '277385', '277389', '277393', '285273', '285301', '285351', '285355', '285458', '285486', '285488', '285499', '356677', '356882', '392674']
    nosy_count = 7.0
    nosy_names = ['tim.golden', 'craigh', 'zach.ware', 'eryksun', 'steve.dower', 'jamercee', 'eric.fahlgren']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23407'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    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.