FWIW, I've updated PEP 358 (the bytes object) to more closely reflect my plans for it, showing the preservation of most string methods. It should be updated on the website in a few minutes.
If someone would like to volunteer a small PEP on the b"..." literal I would appreciate it. The main concern here is that bytes objects are mutable; I think the right semantics will be that each time a b"..." literal is evaluated a *new* bytes object is created, just like [1, 2, 3] constructs a new list each time it is evaluated. The alternative would be a literal that could be modified in place, which reminds me of the worst of Fortran. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
