[Python-Dev] new unicode hash calculation

Guido van Rossum guido@beopen.com
Mon, 10 Jul 2000 14:02:37 -0500


> Well, sort of. It should be done in such a way that Unicode
> strings which only use the lower byte produce the same hash
> value as normal 8-bit strings -- is this the case for the
> above code ?

I already checked it -- it does, for ASCII or Latin-1 as the default
encoding.  Good enough for me.

--Guido van Rossum (home page: http://dinsdale.python.org/~guido/)