Skip to content

Output relative path when using PurePath.relative_to #88244

Description

@mhammondr
mannequin
BPO 44078
Nosy @akulakov
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-05-14.22:17:49.000>
    created_at = <Date 2021-05-08.15:43:11.323>
    labels = ['type-feature', 'library', '3.9']
    title = 'Output relative path when using PurePath.relative_to'
    updated_at = <Date 2022-02-22.23:52:20.218>
    user = 'https://bugs.python.org/mhammondr'

    bugs.python.org fields:

    activity = <Date 2022-02-22.23:52:20.218>
    actor = 'Socob'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-14.22:17:49.000>
    closer = 'terry.reedy'
    components = ['Library (Lib)']
    creation = <Date 2021-05-08.15:43:11.323>
    creator = 'mhammondr'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44078
    keywords = []
    message_count = 2.0
    messages = ['393262', '393286']
    nosy_count = 3.0
    nosy_names = ['Socob', 'andrei.avk', 'mhammondr']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '40358'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue44078'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
      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