`pathlib.Path.link_to()` has the wrong argument order · Issue #84106 · python/cpython · GitHub
Skip to content

pathlib.Path.link_to() has the wrong argument order #84106

Description

@barneygale
BPO 39925
Nosy @pitrou, @ericvsmith, @tirkarthi, @barneygale
PRs
  • bpo-39950: add pathlib.Path.hardlink_to() method that supersedes link_to() #18909
  • Superseder
  • bpo-39291: "pathlib.Path.link_to()" and "pathlib.Path.symlink_to()" have reversed usage
  • 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 2020-03-11.08:48:30.951>
    created_at = <Date 2020-03-10.21:31:05.990>
    labels = ['type-bug', 'library', '3.9']
    title = '`pathlib.Path.link_to()` has the wrong argument order'
    updated_at = <Date 2020-03-11.08:48:30.950>
    user = 'https://github.com/barneygale'

    bugs.python.org fields:

    activity = <Date 2020-03-11.08:48:30.950>
    actor = 'eric.smith'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-11.08:48:30.951>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2020-03-10.21:31:05.990>
    creator = 'barneygale'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39925
    keywords = ['patch']
    message_count = 5.0
    messages = ['363850', '363856', '363857', '363883', '363887']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'eric.smith', 'xtreak', 'barneygale']
    pr_nums = ['18909']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '39291'
    type = 'behavior'
    url = 'https://bugs.python.org/issue39925'
    versions = ['Python 3.9']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (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