[Python-3000] Should str and bytes hash equally?
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Dec 14 06:36:49 CET 2007
Adam Olsen wrote:
> It's irrelevant. It's always possible to get the same hashes. We'd
> need a performance reason or the like to bother changing either of
> them.
And since there's no reason to think that storing bytes
and unicode in the same dict is likely to be a frequent
requirement, it probably won't affect anything much.
--
Greg
More information about the Python-3000
mailing list