Yeah, for python2 , type(b'') == type(''), but not for python3