Skip to content

Pathlib crashes when os module is missing 'link' method #82992

Description

@tohojo
mannequin
BPO 38811
Nosy @brettcannon, @vstinner, @serhiy-storchaka, @miss-islington, @tohojo
PRs
  • bpo-38811: Check for presence of os.link method in pathlib #17170
  • [3.8] bpo-38811: Check for presence of os.link method in pathlib. (GH-17170) #17204
  • Revert "bpo-38811: Check for presence of os.link method in pathlib" #17219
  • bpo-38811: Check for presence of os.link method in pathlib (v2) #17225
  • [3.8] bpo-38811: Check for presence of os.link method in pathlib (GH-17225) #17626
  • 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 2019-12-16.12:28:38.360>
    created_at = <Date 2019-11-15.12:04:34.777>
    labels = ['3.8', 'type-bug', 'library', '3.9']
    title = "Pathlib crashes when os module is missing 'link' method"
    updated_at = <Date 2019-12-16.12:42:56.354>
    user = 'https://github.com/tohojo'

    bugs.python.org fields:

    activity = <Date 2019-12-16.12:42:56.354>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-12-16.12:28:38.360>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2019-11-15.12:04:34.777>
    creator = 'tohojo'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38811
    keywords = ['patch']
    message_count = 10.0
    messages = ['356670', '356696', '356703', '356818', '356858', '356860', '358477', '358480', '358482', '358483']
    nosy_count = 5.0
    nosy_names = ['brett.cannon', 'vstinner', 'serhiy.storchaka', 'miss-islington', 'tohojo']
    pr_nums = ['17170', '17204', '17219', '17225', '17626']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38811'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.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