> This is indeed the question. I agree it's unlikely, and you can > presumably do something like convert a bytes() instance into a tuple > of small integers if you really want to key into a dict. Or even a Unicode string using the Latin-1 encoding. :-) --Guido van Rossum (home page: http://www.python.org/~guido/)