padremayi added the comment:
Now:
def get(self, key, default=None)
Future:
def get(self, key, default=None, double_value=False)
No code break
--
___
Python tracker
<https://bugs.python.org/issue46
Change by padremayi :
--
status: closed -> open
___
Python tracker
<https://bugs.python.org/issue46798>
___
___
Python-bugs-list mailing list
Unsubscrib
padremayi added the comment:
IMHO if the developer doesn't manage the XML itself it is VERY unreasonable to
use the document value and not the developer one. At the moment the developer
must predict the future changes on XML structure.
For my point of view if an attribute is not presen
New submission from padremayi :
XML test file:
]>
This is a simple object
2022
Myself
Python code:
import xml.etree.ElementTree
try:
xml_data = xml.etree.ElementTree.iterparse("test.xml&