Daniele Varrazzo added the comment:
ElementTree issue is with tabs:
In [1]: import xml.etree.cElementTree as etree
In [2]: doc = etree.fromstring('<xml />')
In [4]: doc.set('attr', "here\tthere")
In [5]: etree.tostring(doc)
Out[5]: '<xml attr="here\tthere" />'
In [6]: etree.fromstring(_5).attrib['attr']
Out[6]: 'here there'
bye bye tab.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5752>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com