Message217679
| Author | scoder |
|---|---|
| Recipients | eli.bendersky, santoso.wijaya, scoder |
| Date | 2014-05-01.06:32:28 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1398925948.96.0.696514086629.issue21403@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Ah, sorry, actually, it does not work in Py3.2:
>>> import xml.etree.cElementTree as cET
>>> root = cET.Element('root', attrib={'Name':'Root'})
>>> child = cET.SubElement(root, 'child', attrib={'Name':'Child'})
>>> cET.tostring(root)
b'<root attrib="{\'Name\': \'Root\'}"><child attrib="{\'Name\': \'Child\'}" /></root>'
That's even worse than in 2.7 as it doesn't raise an exception. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-05-01 06:32:28 | scoder | set | recipients: + scoder, eli.bendersky, santoso.wijaya |
| 2014-05-01 06:32:28 | scoder | set | messageid: <1398925948.96.0.696514086629.issue21403@psf.upfronthosting.co.za> |
| 2014-05-01 06:32:28 | scoder | link | issue21403 messages |
| 2014-05-01 06:32:28 | scoder | create | |