You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tomlkit 0.15.1 fails on out-of-order table header #632
Ran into this while looking at out-of-order table handling.
It looks like #572 already covers it. I applied that PR's patch on top of current master and this document parses, giving {'c': 1, 'd': 2, 'e': {'f': 3}} under a.b, with the rest of the suite passing (770 passed, excluding tests/test_toml_tests.py, which needs the toml-test submodule checked out).
So if #572 lands, this can close with it rather than with a separate patch — the _validate_table_candidate change there is what stops the KeyAlreadyPresent when the key reads back as an OutOfOrderTableProxy.
Activity
lidongze1002 commentedon Nov 17, 2026
Ran into this while looking at out-of-order table handling.
It looks like #572 already covers it. I applied that PR's patch on top of current
masterand this document parses, giving{'c': 1, 'd': 2, 'e': {'f': 3}}undera.b, with the rest of the suite passing (770 passed, excludingtests/test_toml_tests.py, which needs thetoml-testsubmodule checked out).So if #572 lands, this can close with it rather than with a separate patch — the
_validate_table_candidatechange there is what stops theKeyAlreadyPresentwhen the key reads back as anOutOfOrderTableProxy.fix: support out-of-order table header after dotted keys (#632) (#717)