[Python-3000] Thoughts on new I/O library and bytecode
Guido van Rossum
guido at python.org
Fri Feb 23 01:01:42 CET 2007
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/)
More information about the Python-3000
mailing list