Skip to content

Upgrading xmltodict 0.3 to 0.4

Breaking0.3 → 0.4.6Breaking1Platform1New1Fixed5Other6

BreakingUpgrade verdict

1 breaking change and a platform requirement change.

  • Removed unnecessary try/catch for xml_input.encode. check if file or string, EAFP style.
  • Test attribute order roundtrip only if OrderedDict is available (python >= 2.7).
2 items need code or config changes
Breaking1
Removed unnecessary try/catch for xml_input.encode. check if file or string, EAFP style.
Platform1
Test attribute order roundtrip only if OrderedDict is available (python >= 2.7).

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • changed: function parse(xml_input, *args, **kwargs) → function parse(xml_input, encoding=…, *args, **kwargs)