Message 100350 - Python tracker
With ET 1.3, the serializer ElementTree.write() should output bytes only. And the default encoding is still US-ASCII. The new behaviour is specific to the 3.x branch (since 3.0, r56841). Even if it is not fully backward compatible, I don't find this behavior shocking: it is a rule of Python 3 to avoid implicit encoding/decoding.