Skip to content

mock_open file handle __exit__ does not call close #88351

@williamsjoblom

Description

@williamsjoblom
BPO 44185
Nosy @voidspace, @tirkarthi, @CendioOssman, @williamsjoblom, @samety
PRs
  • bpo-44185: Added close() to mock_open __exit__ #26902
  • 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 = None
    created_at = <Date 2021-05-20.08:17:05.886>
    labels = ['type-feature', 'library', '3.9', '3.10', '3.11']
    title = 'mock_open file handle __exit__ does not call close'
    updated_at = <Date 2021-06-26.15:05:02.423>
    user = 'https://github.com/williamsjoblom'

    bugs.python.org fields:

    activity = <Date 2021-06-26.15:05:02.423>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-05-20.08:17:05.886>
    creator = 'williamsjoblom'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44185
    keywords = ['patch']
    message_count = 1.0
    messages = ['394005']
    nosy_count = 5.0
    nosy_names = ['michael.foord', 'xtreak', 'CendioOssman', 'williamsjoblom', 'sametyaslan']
    pr_nums = ['26902']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue44185'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesstdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions