Ma Lin <malin...@163.com> added the comment:
Thanks for review. Don't know why bytes and str generates the same hash value for ASCII sequence. >>> hash('abc') == hash(b'abc') True This may brings some hash collisions, does it affect performance slightly? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35636> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com