[issue16082] xml.etree.ElementTree.tostringlist does not conform to its documentation

2012-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff925e135e60 by Eli Bendersky in branch '3.3': Issue #16082: clarify the documentation of tostring[list] saying that it may generate a bytestring, depending on the given encoding. http://hg.python.org/cpython/rev/ff925e135e60 New changeset 6e407fcf

[issue16082] xml.etree.ElementTree.tostringlist does not conform to its documentation

2012-10-09 Thread Eli Bendersky
Eli Bendersky added the comment: Einar, TypeError is raised because tostring/tostringlist return bytes with the default encoding, and you can't join bytes on "" (which is unicode). -- ___ Python tracker __

[issue16082] xml.etree.ElementTree.tostringlist does not conform to its documentation

2012-10-07 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for the report. I'll take a look. Patches always welcome :) -- stage: -> patch review title: xml.etree.ElementTree.tostringlist does conform to it's documentation -> xml.etree.ElementTree.tostringlist does not conform to its documentation _