Currently (in 3.0), "".join(<seq>) automatically applies str() to the
items of <seq>, *except* if the item is a bytes instance -- then it
raises a TypeError. Is that proper behavior? The alternative is to
uniformly apply str(), which for bytes returns a string of the form
"b'...'" or "buffer(b'...')" (depending on whether the bytes are
immutable or not). Given that we killed the exception for "" == b""
earlier, I'm tempted to remove the exception. Any opinions to the
contrary?

-- 
--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

Reply via email to