[issue3797] mmap, dbm, ossaudiodev, marshal & winreg return bytearray instead of bytes

Antoine Pitrou report at bugs.python.org
Sat Sep 6 23:20:42 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

As for ossaudiodev:

-    PyByteArray_Resize(rv, count);
+    _PyBytes_Resize(rv, count);

I think this should be _PyBytes_Resize(&rv, count) instead.

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


More information about the Python-bugs-list mailing list