Skip to content

Turn NamedTemporaryFile into a context manager #46305

@abalkin

Description

@abalkin
BPO 2021
Nosy @ncoghlan, @abalkin, @tiran
Files
  • with_NamedTemporaryFile.diff: Diff against revision 60593
  • subclass-file.diff: diff against revision 60703
  • 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/ncoghlan'
    closed_at = <Date 2008-02-11.12:55:58.106>
    created_at = <Date 2008-02-06.16:14:23.564>
    labels = ['type-bug', 'library']
    title = 'Turn NamedTemporaryFile into a context manager'
    updated_at = <Date 2008-02-11.12:55:58.104>
    user = 'https://github.com/abalkin'

    bugs.python.org fields:

    activity = <Date 2008-02-11.12:55:58.104>
    actor = 'ncoghlan'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2008-02-11.12:55:58.106>
    closer = 'ncoghlan'
    components = ['Library (Lib)']
    creation = <Date 2008-02-06.16:14:23.564>
    creator = 'belopolsky'
    dependencies = []
    files = ['9360', '9401']
    hgrepos = []
    issue_num = 2021
    keywords = ['patch']
    message_count = 6.0
    messages = ['62102', '62111', '62223', '62264', '62278', '62285']
    nosy_count = 3.0
    nosy_names = ['ncoghlan', 'belopolsky', 'christian.heimes']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2021'
    versions = ['Python 2.6']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard 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