the following program generates an error in version 2.0.5 :
import xml.etree.ElementTree as ET
data="<food><item name='breakfast'>Idly</item><price>$2.5</price><description> Two idlys with chutney </description><calories>553</calories></food>"
myroot = ET.fromstring(data)
Hello,
the following program generates an error in version 2.0.5 :
import xml.etree. ElementTree as ET '>Idly< /item>< price>$ 2.5</price> <description> Two idlys with chutney </description> <calories> 553</calories> </food> "
data="<food><item name='breakfast
myroot = ET.fromstring(data)
print(myroot.tag)
Version 2.0.4 works as expected.
Regards
Rolf