[issue1512791] module wave does no rounding

Neil Tallim report at bugs.python.org
Wed Jul 29 02:23:59 CEST 2009


Neil Tallim <red.hamsterx at gmail.com> added the comment:

Attached a patch with a unit test and solution for this problem.

Patch built against Python 2.7, r74246.

Note: It may make more sense to just have wave.setframerate() assert
that it is being fed an integer, and that's a simple fix that won't
require a test. However, that's not what was approved for testing, so
that's not what I wrote.

----------
keywords: +patch
nosy: +Red HamsterX
type: feature request -> behavior
versions: +Python 3.2
Added file: http://bugs.python.org/file14590/1512791[2.7].diff

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


More information about the Python-bugs-list mailing list