[issue17616] wave.Wave_read and wave.Wave_write can be context managers

2013-07-31 Thread Roundup Robot
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

[issue17616] wave.Wave_read and wave.Wave_write can be context managers

2013-07-31 Thread R. David Murray
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

[issue17616] wave.Wave_read and wave.Wave_write can be context managers

2013-07-31 Thread Roundup Robot
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

[issue17616] wave.Wave_read and wave.Wave_write can be context managers

2013-04-02 Thread Claudiu.Popa
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: