This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: wave.Wave_read and wave.Wave_write can be context managers
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Claudiu.Popa, python-dev, r.david.murray
Priority: normal Keywords: patch

Created on 2013-04-02 09:16 by Claudiu.Popa, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
wave_context_manager.patch Claudiu.Popa, 2013-04-02 09:16 review
Messages (4)
msg185825 - (view) Author: PCManticore (Claudiu.Popa) * (Python triager) Date: 2013-04-02 09:16
I think that should work with the `with` statement, given the fact that Lib/ 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 changeset 8327780d3841 by R David Murray in branch 'default':
#17616: now supports the 'with' statement.
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 changeset 4f3b6eff2ede by R David Murray in branch 'default':
#17616: Improve context manager tests, fix bugs in close method and mode docs.
Date User Action Args
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