On Wed, Jul 25, 2012 at 1:59 AM, Mantas Mikulėnas <grawity at gmail.com> wrote: > Despite its name, ElementTree.tostring() returns already-encoded > bytes() instead of a string in Python 3; sys.stdout doesn't like that. Applied. Thanks, Kay