Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of the 'with' statement to sunau.open. #63078

Closed
serhiy-storchaka opened this issue Aug 29, 2013 · 3 comments
Closed

Add support of the 'with' statement to sunau.open. #63078

serhiy-storchaka opened this issue Aug 29, 2013 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 18878
Nosy @bitdancer, @PCManticore, @serhiy-storchaka
Files
  • sunau_context_manager.patch
  • 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/serhiy-storchaka'
    closed_at = <Date 2013-09-05.14:39:27.820>
    created_at = <Date 2013-08-29.19:48:58.890>
    labels = ['type-feature', 'library']
    title = "Add support of the 'with' statement to sunau.open."
    updated_at = <Date 2013-09-05.14:39:27.820>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2013-09-05.14:39:27.820>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2013-09-05.14:39:27.820>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2013-08-29.19:48:58.890>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['31577']
    hgrepos = []
    issue_num = 18878
    keywords = ['patch']
    message_count = 3.0
    messages = ['196482', '196874', '196998']
    nosy_count = 4.0
    nosy_names = ['r.david.murray', 'Claudiu.Popa', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue18878'
    versions = ['Python 3.4']

    @serhiy-storchaka
    Copy link
    Member Author

    The proposed patch adds support of the 'with' statement to sunau.open (as it already was added for aifc.open and wave.open). It based on patches from bpo-17616.

    @serhiy-storchaka serhiy-storchaka added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Aug 29, 2013
    @serhiy-storchaka serhiy-storchaka self-assigned this Sep 3, 2013
    @serhiy-storchaka
    Copy link
    Member Author

    I will commit it tomorrow if there are no objections.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Sep 5, 2013

    New changeset a62f59667c9e by Serhiy Storchaka in branch 'default':
    Issue bpo-18878: sunau.open now supports the context manager protocol. Based on
    http://hg.python.org/cpython/rev/a62f59667c9e

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant