Skip to content

zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement #49761

Closed
@petruchio

Description

@petruchio
mannequin
BPO 5511
Nosy @ezio-melotti, @briancurtin
Files
  • issue5511_complete.patch: code, test, and doc changes
  • issue5511_complete_20091008.patch: Added close tests per Ezio's suggestion
  • 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/ezio-melotti'
    closed_at = <Date 2009-12-30.13:55:28.187>
    created_at = <Date 2009-03-18.18:24:22.081>
    labels = ['type-feature', 'library']
    title = 'zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement'
    updated_at = <Date 2009-12-30.13:55:28.160>
    user = 'https://bugs.python.org/petruchio'

    bugs.python.org fields:

    activity = <Date 2009-12-30.13:55:28.160>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2009-12-30.13:55:28.187>
    closer = 'ezio.melotti'
    components = ['Library (Lib)']
    creation = <Date 2009-03-18.18:24:22.081>
    creator = 'petruchio'
    dependencies = []
    files = ['14566', '15082']
    hgrepos = []
    issue_num = 5511
    keywords = ['patch']
    message_count = 7.0
    messages = ['83768', '90869', '90870', '90932', '92554', '93746', '97030']
    nosy_count = 3.0
    nosy_names = ['ezio.melotti', 'brian.curtin', 'petruchio']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue5511'
    versions = ['Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions