[New-bugs-announce] [issue17616] wave.Wave_read and wave.Wave_write can be context managers

Claudiu.Popa report at bugs.python.org
Tue Apr 2 11:16:06 CEST 2013


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: 185825
nosy: Claudiu.Popa
priority: normal
severity: normal
status: open
title: wave.Wave_read and wave.Wave_write can be context managers
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file29653/wave_context_manager.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17616>
_______________________________________


More information about the New-bugs-announce mailing list