Skip to content

pathlib.Path.glob() does not list dangling symlink when pattern is the exact filename#89769

@raek

Description

@raek
mannequin
BPO45606
Nosy@Fidget-Spinner, @akulakov, @raek
PRs
  • GH-89769: Pathlib - do not follow links when checking for precise glob match #29655
  • 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/akulakov'closed_at=Nonecreated_at=<Date2021-10-25.19:20:55.106>labels= ['type-bug', 'library', '3.9', '3.10', '3.11'] title='pathlib.Path.glob() does not list dangling symlink when pattern is the exact filename'updated_at=<Date2022-01-23.06:57:12.913>user='https://github.com/raek'

    bugs.python.org fields:

    activity=<Date2022-01-23.06:57:12.913>actor='andrei.avk'assignee='andrei.avk'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2021-10-25.19:20:55.106>creator='raek'dependencies= [] files= [] hgrepos= [] issue_num=45606keywords= ['patch'] message_count=4.0messages= ['404996', '406643', '406644', '406645'] nosy_count=3.0nosy_names= ['kj', 'andrei.avk', 'raek'] pr_nums= ['29655'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue45606'versions= ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.12only security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-pathlibtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions