New submission from Popa Claudiu: wave.Wave_read/Wave_write.getparams returns a tuple with various info about the wav file, when it could return a namedtuple, that can be manipulated in a richer way. I attached a patch. It doesn't have any tests, mainly because .getparams isn't tested at all in the original test_wave.py.
---------- components: Library (Lib) files: wave.patch keywords: patch messages: 184680 nosy: Popa.Claudiu priority: normal severity: normal status: open title: wave.Wave_read.getparams should be more user friendly type: enhancement versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file29488/wave.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17487> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com