STINNER Victor added the comment: I commited changes to use _Py_read() and _Py_write().
I attach an updated patch to use Py_ssize_t instead of int, and to use Py_buffer instead of char*. ---------- Added file: http://bugs.python.org/file38571/ossaudiodev-py_buffer.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23709> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com