Stefan Behnel <stefan...@behnel.de> added the comment:

> why bytes and str generates the same hash value for ASCII sequence

Probably mostly for historical Py2 reasons. These days, both are somewhat 
unlikely to appear in the same dict. But still, I'd advise against changing the 
hash function without a very good reason. You never know how much code relies 
on it in one way or another.

----------

_______________________________________
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

Reply via email to