Martin v. Löwis wrote: > Guido van Rossum wrote: >>The bytes type could just be a very thin wrapper around array('b'). > > That answers an important question: so you want the bytes type to be > mutable (and, consequently, unsuitable as a dictionary key).
I would suggest a bytes/frozenbytes pair, similar to set/frozenset and list/tuple. Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://boredomandlaziness.blogspot.com _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com