[Python-3000] What to do about "".join([b""])?
Facundo Batista
facundobatista at gmail.com
Fri Nov 2 05:12:03 CET 2007
2007/11/2, Guido van Rossum <guido at python.org>:
> Ah, but now try it in the py3k-pep3137 trunk...
>
> Python 3.0a1+ (py3k-pep3137, Nov 1 2007, 19:17:57)
> [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> str(b"hola")
> "b'hola'"
Ha. Bloody Universe glue, :)
Now I understand, :) Thanks.
Anyway, I keep my +1 to *always* apply str() to each element.
Thanks again,
.
--
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
More information about the Python-3000
mailing list