Skip to content

pathlib.Path.expanduser() does not call os.path.expanduser()#84080

@barneygale

Description

@barneygale
mannequin
BPO39899
Nosy@serhiy-storchaka, @eryksun, @zooba, @barneygale, @Fidget-Spinner, @akulakov
PRs
  • bpo-39899: Make pathlib use os.path.expanduser() to expand home directories #18841
  • bpo-39899: ntpath.expanduser(): don't check the basename of the directory matches the username if we're requesting the current user's home directory #25277
  • 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=Noneclosed_at=<Date2021-04-09.22:03:46.934>created_at=<Date2020-03-08.05:06:12.759>labels= ['library', '3.10'] title='`pathlib.Path.expanduser()` does not call `os.path.expanduser()`'updated_at=<Date2021-09-06.17:52:12.404>user='https://github.com/barneygale'

    bugs.python.org fields:

    activity=<Date2021-09-06.17:52:12.404>actor='andrei.avk'assignee='none'closed=Trueclosed_date=<Date2021-04-09.22:03:46.934>closer='steve.dower'components= ['Library (Lib)'] creation=<Date2020-03-08.05:06:12.759>creator='barneygale'dependencies= [] files= [] hgrepos= [] issue_num=39899keywords= ['patch'] message_count=19.0messages= ['363635', '363636', '363637', '363639', '363644', '363647', '363652', '390449', '390452', '390461', '390477', '390494', '390497', '390504', '390507', '390528', '390669', '401167', '401168'] nosy_count=6.0nosy_names= ['serhiy.storchaka', 'eryksun', 'steve.dower', 'barneygale', 'kj', 'andrei.avk'] pr_nums= ['18841', '25277'] priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype=Noneurl='https://bugs.python.org/issue39899'versions= ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions