Skip to content

pathlib method relative_to doesnt work with // in paths#91317

@John15321

Description

@John15321
mannequin
BPO47161
Nosy@eryksun, @barneygale, @arhadthedev, @John15321
PRs
  • gh-91317: Document that Path does not collapse initial // #32193
  • 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=Noneclosed_at=Nonecreated_at=<Date2022-03-30.11:01:52.097>labels= ['3.8', 'type-bug', 'library'] title='pathlib method relative_to doesnt work with // in paths'updated_at=<Date2022-04-01.15:38:13.214>user='https://github.com/John15321'

    bugs.python.org fields:

    activity=<Date2022-04-01.15:38:13.214>actor='barneygale'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2022-03-30.11:01:52.097>creator='John15321'dependencies= [] files= [] hgrepos= [] issue_num=47161keywords= ['patch'] message_count=8.0messages= ['416336', '416342', '416348', '416351', '416352', '416355', '416356', '416489'] nosy_count=4.0nosy_names= ['eryksun', 'barneygale', 'arhadthedev', 'John15321'] pr_nums= ['32193'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue47161'versions= ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions