Skip to content

Re: Allow Path.relative_to() to accept non-ancestor paths #64211

@javawizard

Description

@javawizard
BPO 20012
Nosy @pitrou, @Japanuspus
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:12.251>
    created_at = <Date 2013-12-18.06:10:10.898>
    labels = ['type-feature', 'library']
    title = 'Re: Allow Path.relative_to() to accept non-ancestor paths'
    updated_at = <Date 2021-06-23.11:10:25.028>
    user = 'https://bugs.python.org/javawizard'

    bugs.python.org fields:

    activity = <Date 2021-06-23.11:10:25.028>
    actor = 'Antony.Lee'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-23.10:41:12.251>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2013-12-18.06:10:10.898>
    creator = 'javawizard'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 20012
    keywords = []
    message_count = 6.0
    messages = ['206497', '206499', '206535', '207810', '262305', '396390']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'javawizard', 'aukbten', 'Japanuspus']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '40358'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue20012'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions