Skip to content

os.path.expanduser should not use HOME on windows #80445

@asottile

Description

@asottile
mannequin
BPO 36264
Nosy @pfmoore, @jaraco, @blueyed, @tjguk, @zware, @eryksun, @zooba, @lazka, @asottile, @miss-islington
PRs
  • bpo-36264: Don't honor POSIX HOME in os.path.expanduser on windows #12282
  • bpo-36264: Updates documentation for change to expanduser on Windows #12294
  • bpo-38883: Don't honor POSIX HOME in pathlib.Path.home/expanduser on Windows #17961
  • [3.8] bpo-38883: Don't use POSIX $HOME in pathlib.Path.home/expanduser on Windows (GH-17961) #18229
  • 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-03-12.22:16:16.883>
    created_at = <Date 2019-03-11.16:09:57.334>
    labels = ['3.8', 'type-bug', 'library', 'OS-windows']
    title = 'os.path.expanduser should not use HOME on windows'
    updated_at = <Date 2020-05-16.17:18:51.381>
    user = 'https://github.com/asottile'

    bugs.python.org fields:

    activity = <Date 2020-05-16.17:18:51.381>
    actor = 'jaraco'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2019-03-12.22:16:16.883>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2019-03-11.16:09:57.334>
    creator = 'Anthony Sottile'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36264
    keywords = ['patch']
    message_count = 27.0
    messages = ['337683', '337750', '337752', '337754', '337755', '337756', '337763', '337781', '337784', '337813', '338162', '357182', '357192', '357194', '357197', '360846', '360853', '368931', '368932', '368933', '368935', '368963', '369025', '369034', '369045', '369049', '369060']
    nosy_count = 10.0
    nosy_names = ['paul.moore', 'jaraco', 'blueyed', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'lazka', 'Anthony Sottile', 'miss-islington']
    pr_nums = ['12282', '12294', '17961', '18229']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36264'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

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