diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-07-10 18:27:47 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-07-10 18:27:47 (GMT) |
commit | dde61644024185891e1c41d6f5de29f8780b1cff (patch) | |
tree | 729c72530031a4394196f53a802132cc87954d1c /Lib/site.py | |
parent | 417c489defd33ceb4a3cb76efaf4975ee886221e (diff) | |
download | cpython-dde61644024185891e1c41d6f5de29f8780b1cff.zip cpython-dde61644024185891e1c41d6f5de29f8780b1cff.tar.gz cpython-dde61644024185891e1c41d6f5de29f8780b1cff.tar.bz2 |
- 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 'Lib/site.py')
0 files changed, 0 insertions, 0 deletions