[issue2948] Unicode support for hashing algorithms
Raymond Hettinger
report at bugs.python.org
Fri May 23 05:38:29 CEST 2008
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
I don't think this is the right thing to do. The hash algorithms are
defined in terms of bytes, but Unicode is an abstracted from a byte
level encoding. It doesn't make sense to convert using an arbitrary
encoding (such as UTF-8) because someone else might hash the same text
using a different encoding.
Mark, do you concur?
----------
assignee: -> lemburg
nosy: +lemburg, rhettinger
type: -> feature request
versions: +Python 2.6 -Python 2.5
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2948>
__________________________________
More information about the Python-bugs-list
mailing list