Skip to content

Releases: JamesParrott/toml_tools

OrderedDicts in Python 2

01 May 19:11
Compare
Choose a tag to compare
  • dump and dumps now return an OrderedDict, in Pythons before 3.7 or in IronPython which should preserve the order of entries (other than listing the root table entries first). This allowed passing many of the tests, but broke some of them, as OrderedDicts with the same key/val pairs in different orders, are not equal (Python >= 3.7 dicts are). Therefore for all the many users (feel free to get in touch) that started using this fork since I created it, there's a possibility this could be a breaking change, necessitating the second major version bump in a week to v2.
  • integers and floats can have underscores in, in Python 2
  • Passes 312 tests in each of cPythons 2.7, and 3.7 to 3.12, and in Iron Pythons 2.7 and 3.4.

Fit for purpose! Passes 52 unittest tests in C and Iron Pythons 2.7

30 Apr 21:30
Compare
Choose a tag to compare

First after overhaul. Passes lots of tests in Python 3.12 already (Python 2 & Iron Python still in the pipeline)

29 Apr 22:45
Compare
Choose a tag to compare