R. David Murray <rdmur...@bitdance.com> added the comment:

Well, Benjamin pointed out to me that it would be a bad thing if array.tostring 
produced a string.  True, the method is named wrong, but it is less broken than 
returning a string.  I suspect that that is the same argument Fredrik is 
making: that returning the XML as a byte string is less broken than returning 
it as a string when it in fact may contain other encoded stuff.  The email 
package has some of the same problems, and there we are retooling the API to 
deal with this.

Presumably ET needs to have a retooled API for Python3 as well.  Then the 
question becomes what do we do in the meantime?  For email, we are just living 
with the breakage until we can get something better in place, because no one 
has come up with any good short term solutions for email.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8047>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to