Skip to content

Inconsistent/Undocumented behavior with pathlib resolve and absolute on Windows #81041

@alexjacobson95

Description

@alexjacobson95
BPO 36860
Nosy @pfmoore, @tjguk, @zware, @eryksun, @zooba, @alexjacobson95
Superseder
  • bpo-38671: pathlib.Path.resolve(strict=False) returns relative path on Windows if the entry does not exist
  • 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-03-22.01:07:54.418>
    created_at = <Date 2019-05-09.02:17:50.576>
    labels = ['3.7', 'type-bug', 'library', 'OS-windows']
    title = 'Inconsistent/Undocumented behavior with pathlib resolve and absolute on Windows'
    updated_at = <Date 2021-03-22.01:07:54.417>
    user = 'https://github.com/alexjacobson95'

    bugs.python.org fields:

    activity = <Date 2021-03-22.01:07:54.417>
    actor = 'eryksun'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-03-22.01:07:54.418>
    closer = 'eryksun'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2019-05-09.02:17:50.576>
    creator = 'alexjacobson95'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36860
    keywords = []
    message_count = 3.0
    messages = ['341953', '341970', '389268']
    nosy_count = 6.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'alexjacobson95']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '38671'
    type = 'behavior'
    url = 'https://bugs.python.org/issue36860'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeOS-windowsstdlibStandard 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