python / python/cpython

option to not follow symlinks when globbing

Open
#73,661 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stdlib type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 29475
Nosy @ethanfurman, @o11c, @wimglenn
Files
  • python-glob-symlink.diff: Patch to add symlinks= argument to glob.glob and glob.iglob
  • 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 2017-02-07.21:26:15.742>
    labels = ['type-feature', 'library']
    title = 'option to not follow symlinks when globbing'
    updated_at = <Date 2017-09-12.23:05:45.646>
    user = 'https://github.com/o11c'
    

    bugs.python.org fields:

    activity = <Date 2017-09-12.23:05:45.646>
    actor = 'wim.glenn'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2017-02-07.21:26:15.742>
    creator = 'o11c'
    dependencies = []
    files = ['46566']
    hgrepos = []
    issue_num = 29475
    keywords = ['patch']
    message_count = 3.0
    messages = ['287256', '287279', '302002']
    nosy_count = 3.0
    nosy_names = ['ethan.furman', 'o11c', 'wim.glenn']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29475'
    versions = ['Python 3.6']
    

    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.

    Research direction

    Review the referenced python-glob-symlink.diff and the current glob.glob and glob.iglob entry points. Determine the intended behavior for an option that prevents following symlinks, then verify the completed change with coverage for both globbing functions and symlinked paths.

    Written by the indexing model from the issue text.

    Assessment

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

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.