[issue16685] Deprecate accepting strings as arguments in audioop functions

Serhiy Storchaka report at bugs.python.org
Fri Dec 14 19:29:03 CET 2012


Serhiy Storchaka added the comment:

> What happens if you pass strings?

They are encoded with UTF-8. See 's#' and 's*' formats in PyArg_ParseTuple() ('y*' recommended for bytes).

----------

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


More information about the Python-bugs-list mailing list