[Python-3000] Should str and bytes hash equally?

Alexandre Vassalotti alexandre at peadrop.com
Thu Dec 13 23:42:17 CET 2007


In Python 2.x, having the byte string and unicode hash equally was
desirable, since u'' == ''. But since the bytes and str are always
considered unequal, in Python 3k, I think would be good idea to make
their hash unequal too. So, what do you think?

-- Alexandre


More information about the Python-3000 mailing list