summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-07-10 18:27:47 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-07-10 18:27:47 (GMT)
commitdde61644024185891e1c41d6f5de29f8780b1cff (patch)
tree729c72530031a4394196f53a802132cc87954d1c /Lib/site.py
parent417c489defd33ceb4a3cb76efaf4975ee886221e (diff)
downloadcpython-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