Skip to content

pathlib glob ignores trailing slash in pattern #66472

@jocabt

Description

@jocabt
mannequin
BPO 22276
Nosy @pitrou, @bitdancer, @emilyemorehouse, @robbuckley, @akulakov
PRs
  • bpo-22276: Fix pathlib.Path.glob not to ignore trailing path separator #10349
  • 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 = 'https://github.com/emilyemorehouse'
    closed_at = None
    created_at = <Date 2014-08-26.11:37:22.662>
    labels = ['3.8', 'type-bug', 'library']
    title = 'pathlib glob ignores trailing slash in pattern'
    updated_at = <Date 2021-11-21.02:47:05.959>
    user = 'https://bugs.python.org/jocabt'

    bugs.python.org fields:

    activity = <Date 2021-11-21.02:47:05.959>
    actor = 'andrei.avk'
    assignee = 'emilyemorehouse'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2014-08-26.11:37:22.662>
    creator = 'joca.bt'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 22276
    keywords = ['patch']
    message_count = 9.0
    messages = ['225914', '226033', '226034', '226036', '226095', '226102', '406700', '406701', '406702']
    nosy_count = 7.0
    nosy_names = ['pitrou', 'r.david.murray', 'cvrebert', 'joca.bt', 'emilyemorehouse', 'robbuckley', 'andrei.avk']
    pr_nums = ['10349']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22276'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Labels

    3.8 (EOL)end of lifestdlibPython modules in the Lib dirtopic-pathlibtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions