diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-07-10 18:27:47 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-07-10 18:27:47 +0000 |
commit | c6c680b9a45b3611425c44b57826474533c21b6a (patch) | |
tree | 79587b84b72efa2365b22864613e69094ddea187 /Python/pythonrun.c | |
parent | f59fe5a1d004f9ffb037d5dbd65e56e93290afcd (diff) | |
download | cpython-c6c680b9a45b3611425c44b57826474533c21b6a.tar.gz |
- changed hash calculation for unicode strings. the new
value is calculated from the character values, in a way
that makes sure an 8-bit ASCII string and a unicode string
with the same contents get the same hash value.
(as a side effect, this also works for ISO Latin 1 strings).
for more details, see the python-dev discussion.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions