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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17616>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to