[-python-dev] On 5/4/07, Fred L. Drake, Jr. <[EMAIL PROTECTED]> wrote: > On Friday 04 May 2007, M.-A. Lemburg wrote: > > I also suggest making all bytes literals immutable to avoid running > > into any issues like the above. > > +1 from me.
Rather than adding immutability to bytes objects (which has big implementation and type checking implications), consider using buffer(b"123") as an immutable bytes literal. You can freely concatenate and compare buffer objects with bytes objects. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ 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