Re: [Python-Dev] ElementTree.tostring() returning str by default in Py3.2

2010-03-02 Thread Stefan Behnel
Stefan Behnel, 02.03.2010 10:06: I just noticed that the xml.etree.ElementTree.tostring() function in Py3.2 returns a str object by default, unless an encoding is specified. This is a backwards incompatible change compared to ET 1.2. For one, it breaks tons of tests in lxml's compatibility test s

Re: [Python-Dev] ElementTree.tostring() returning str by default in Py3.2

2010-03-02 Thread Stefan Behnel
Stefan Behnel, 02.03.2010 10:06: > I just noticed that the xml.etree.ElementTree.tostring() function in Py3.2 > returns a str object by default, unless an encoding is specified. This is a > backwards incompatible change compared to ET 1.2. For one, it breaks tons > of tests in lxml's compatibility