Antoine Pitrou added the comment: > The attached patch uses "bytes-like objects" in the error messages. I'm surprised your patch doesn't touch Python/getargs.c. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue16518> _______________________________________