Skip to content

pathlib: make _Accessor.open() return a file object and not a file descriptor #84288

@barneygale

Description

@barneygale
BPO 40107
Nosy @zooba, @barneygale
PRs
  • bpo-40107: stop using os.open() to implement pathlib.Path.open() #25240
  • 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-04-09.22:03:35.867>
    created_at = <Date 2020-03-29.22:37:39.513>
    labels = ['type-feature', 'library', '3.10']
    title = 'pathlib: make `_Accessor.open()` return a file object and not a file descriptor'
    updated_at = <Date 2021-04-09.22:03:35.867>
    user = 'https://github.com/barneygale'

    bugs.python.org fields:

    activity = <Date 2021-04-09.22:03:35.867>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-09.22:03:35.867>
    closer = 'steve.dower'
    components = ['Library (Lib)']
    creation = <Date 2020-03-29.22:37:39.513>
    creator = 'barneygale'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40107
    keywords = ['patch']
    message_count = 2.0
    messages = ['365283', '390667']
    nosy_count = 2.0
    nosy_names = ['steve.dower', 'barneygale']
    pr_nums = ['25240']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue40107'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions