Roundup Robot added the comment:
New changeset 8327780d3841 by R David Murray in branch 'default':
#17616: wave.open now supports the 'with' statement.
http://hg.python.org/cpython/rev/8327780d3841
--
nosy: +python-dev
___
Python tracker
R. David Murray added the comment:
Thanks, Claudiu.
--
nosy: +r.david.murray
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17616
Roundup Robot added the comment:
New changeset 4f3b6eff2ede 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
--
___
Python tracker
New submission from Claudiu.Popa:
I think that wave.open should work with the `with` statement, given the fact
that Lib/aifc.py does this. I attached a simple patch for this. Thanks in
advance.
--
components: Library (Lib)
files: wave_context_manager.patch
keywords: patch
messages: