Gregory P. Smith wrote: > Would a special case in the b'x' comparison tests that knows how to > compare a len==1 bytes (mutable or not) object to an integer be > reasonable or just alternately confusing?
Comparison isn't the only thing you might want to do with bytes. Doing this just for comparison would be rather arbitrary. -- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | [EMAIL PROTECTED] +--------------------------------------+ _______________________________________________ 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