Antoine Pitrou <pitrou at free.fr> added the comment: The patch lacks a test that TypeError is raised on unicode input, otherwise it's fine. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue4757> _______________________________________