Antoine Pitrou added the comment: Ok, here is a patch using type2test instead :) Added file: http://bugs.python.org/file9330/bytestest.patch __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1972> __________________________________