martinblech / xmltodict

Python module that makes working with XML feel like you are working with JSON
MIT License
5.49k stars 462 forks source link

xmltodict.parse returns dict object #300

Open dentist128 opened 2 years ago

dentist128 commented 2 years ago

In previous versions of the xmltodict module, the parse() function returned an OrderedDict. In version 0.13.0 parse function returns a dict object.

davidolrik commented 2 years ago

From the xmktodict changelog:

Drop OrderedDict in Python >= 3.7

From the Python 3.7 changelog:

the insertion-order preservation nature of dict objects has been declared to be an official part of the Python language spec.