Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue17616

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:wave.Wave_read and wave.Wave_write can be context managers
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.4
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: Claudiu.Popa, python-dev, r.david.murray
Priority:normalKeywords:patch

Created on2013-04-02 09:16 byClaudiu.Popa, last changed2022-04-11 14:57 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
wave_context_manager.patchClaudiu.Popa,2013-04-02 09:16review
Messages (4)
msg185825 -(view)Author: PCManticore (Claudiu.Popa)*(Python triager)Date: 2013-04-02 09:16
I think that wave.open should work with the `with` statement, given the fact thatLib/aifc.py does this. I attached a simple patch for this. Thanks in advance.
msg194004 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2013-07-31 17:50
New changeset8327780d3841 by R David Murray in branch 'default':#17616: wave.open now supports the 'with' statement.http://hg.python.org/cpython/rev/8327780d3841
msg194005 -(view)Author: R. David Murray (r.david.murray)*(Python committer)Date: 2013-07-31 17:50
Thanks, Claudiu.
msg194029 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2013-08-01 00:48
New changeset4f3b6eff2ede by R David Murray in branch 'default':#17616: Improve context manager tests, fix bugs in close method and mode docs.http://hg.python.org/cpython/rev/4f3b6eff2ede
History
DateUserActionArgs
2022-04-11 14:57:43adminsetgithub: 61816
2013-08-01 00:48:43python-devsetmessages: +msg194029
2013-07-31 17:50:58r.david.murraysetstatus: open -> closed

nosy: +r.david.murray
messages: +msg194005

resolution: fixed
stage: resolved
2013-07-31 17:50:06python-devsetnosy: +python-dev
messages: +msg194004
2013-04-02 09:16:06Claudiu.Popacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp