summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-07-10 18:27:47 +0000
committerFredrik Lundh <fredrik@pythonware.com>2000-07-10 18:27:47 +0000
commitdde61644024185891e1c41d6f5de29f8780b1cff (patch)
tree729c72530031a4394196f53a802132cc87954d1c /Python/sysmodule.c
parent417c489defd33ceb4a3cb76efaf4975ee886221e (diff)
downloadcpython-git-dde61644024185891e1c41d6f5de29f8780b1cff.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/sysmodule.c')
0 files changed, 0 insertions, 0 deletions