Skip to content

pathlib relative_to behaviour change #86400

@arminsbagrats

Description

@arminsbagrats
BPO 42234
Nosy @barneygale
Superseder
  • bpo-40358: pathlib's relative_to should behave like os.path.relpath
  • 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 = <Date 2021-06-23.10:41:51.481>
    created_at = <Date 2020-11-01.15:48:23.384>
    labels = ['type-bug', 'library', '3.10']
    title = 'pathlib relative_to behaviour change'
    updated_at = <Date 2022-02-22.23:52:02.772>
    user = 'https://bugs.python.org/arminsbagrats'

    bugs.python.org fields:

    activity = <Date 2022-02-22.23:52:02.772>
    actor = 'Socob'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-23.10:41:51.481>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2020-11-01.15:48:23.384>
    creator = 'armins.bagrats'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42234
    keywords = []
    message_count = 3.0
    messages = ['380148', '393774', '393776']
    nosy_count = 3.0
    nosy_names = ['Socob', 'barneygale', 'armins.bagrats']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '40358'
    type = 'behavior'
    url = 'https://bugs.python.org/issue42234'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions