Antoine Pitrou <pitrou at free.fr> added the comment: Hi, The patch looks ok to me, although the tests against mutable byte-like types are probably useless. _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue4718> _______________________________________