commit | dde61644024185891e1c41d6f5de29f8780b1cff | [log] [tgz] |
---|---|---|
author | Fredrik Lundh <fredrik@pythonware.com> | Mon Jul 10 18:27:47 2000 +0000 |
committer | Fredrik Lundh <fredrik@pythonware.com> | Mon Jul 10 18:27:47 2000 +0000 |
tree | 729c72530031a4394196f53a802132cc87954d1c | |
parent | 417c489defd33ceb4a3cb76efaf4975ee886221e [diff] |
- 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.