Skip to content

os.path.realpath on Windows does not follow symbolic links #54158

@stutzbach

Description

@stutzbach
mannequin
BPO 9949
Nosy @pfmoore, @atsuoishimoto, @jaraco, @pitrou, @vstinner, @ericvsmith, @tjguk, @takluyver, @zware, @eryksun, @zooba, @ethanhs, @pablogsal, @miss-islington
PRs
  • bpo-9949: Enable symlink traversal for ntpath.realpath #15287
  • [3.8] bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287) #15367
  • bpo-9949: Call normpath first in realpath #15369
  • [3.8] bpo-9949: Call normpath() in realpath() and avoid unnecessary prefixes (GH-15369) #15376
  • Files
  • ntpath_fix_issue9949.zip: Python 3.2 fix for issue 9949
  • issue9949.tar.bz2: Python 3.3 fix for issue os.path.realpath on Windows does not follow symbolic links #54158
  • issue9949-v2.tar.bz2: Python 3.3 fix for issue os.path.realpath on Windows does not follow symbolic links #54158, version 2
  • issue9949-v3.patch: Python 3.3 fix for issue os.path.realpath on Windows does not follow symbolic links #54158, version 3
  • issue9949-v4.patch: Python 3.5 fix for issue os.path.realpath on Windows does not follow symbolic links #54158, version 4
  • 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 = 'https://github.com/zooba'
    closed_at = <Date 2019-08-22.01:06:21.481>
    created_at = <Date 2010-09-25.15:03:13.041>
    labels = ['3.8', 'type-bug', 'library', '3.9', 'OS-windows']
    title = 'os.path.realpath on Windows does not follow symbolic links'
    updated_at = <Date 2019-08-22.09:39:44.437>
    user = 'https://bugs.python.org/stutzbach'

    bugs.python.org fields:

    activity = <Date 2019-08-22.09:39:44.437>
    actor = 'vstinner'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2019-08-22.01:06:21.481>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2010-09-25.15:03:13.041>
    creator = 'stutzbach'
    dependencies = []
    files = ['24770', '25225', '25232', '25810', '38057']
    hgrepos = []
    issue_num = 9949
    keywords = ['patch', 'needs review']
    message_count = 33.0
    messages = ['117374', '142585', '155270', '155371', '155372', '155376', '158353', '158390', '162231', '166197', '223299', '223801', '229059', '235615', '275287', '310567', '349771', '349879', '350107', '350109', '350111', '350114', '350116', '350119', '350120', '350135', '350138', '350139', '350140', '350142', '350145', '350149', '350178']
    nosy_count = 19.0
    nosy_names = ['paul.moore', 'ishimoto', 'jaraco', 'pitrou', 'vstinner', 'eric.smith', 'tim.golden', 'stutzbach', 'living180', 'takluyver', 'zach.ware', 'ncdave4life', 'eryksun', 'steve.dower', 'Christian \xc3\x85kerstr\xc3\xb6m', 'ethan smith', 'pablogsal', '\xc3\x89tienne Dupuis', 'miss-islington']
    pr_nums = ['15287', '15367', '15369', '15376']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9949'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

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