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
list and tuple are intuitive to me because they are ordered, so are TOML arrays. A set is unordered. E.g. in your test case there's no way of guaranteeing that the order is what you have in the expected TOML string.
E.g. json.dumps from the standard library also errors on sets.
What do you think? For example people might have a list and then cast it as a set to remove duplicates.
tomli_w/_writer.py
tests/test_types.py
The text was updated successfully, but these errors were encountered: