STINNER Victor <vstin...@python.org> added the comment:
My audioop.c change which looks to be wrong (useless): diff --git a/Modules/audioop.c b/Modules/audioop.c index 3aeb6f04f13..4c04b17ce7f 100644 --- a/Modules/audioop.c +++ b/Modules/audioop.c @@ -1948,6 +1941,13 @@ audioop_exec(PyObject* module) { audioop_state *state = get_audioop_state(module); + if (!_Py_CTYPE_IS_SIGNED(char)) { + PyErr_SetString(PyExc_RuntimeError, + "the audioop module does not support systems " + "where the char type is unsigned"); + return -1; + } + state->AudioopError = PyErr_NewException("audioop.error", NULL, NULL); if (state->AudioopError == NULL) { return -1; ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46513> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com