On Saturday 03 March 2007 16:02, I wrote: > Here's an ugly, impure, but possibly practical answer: > give each bytes object a single-bit flag meaning something > like "mostly textual"; ... > Obviously the flag wouldn't affect comparisons or hashing.
Josiah Carlson mailed me to point out that, duh, obviously the flag wouldn't affect hashing since bytes objects are mutable and therefore unhashable. :-) -- g _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com