Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Implement heterogeneous values in arrays as per the >0.5.0 (unreleased) TOML spec #8

Closed
miccoli opened this issue Jan 8, 2020 · 3 comments

Comments

@miccoli
Copy link
Contributor

miccoli commented Jan 8, 2020

The working and still unreleased TOML spec allows heterogenous values in arrays: see

This is a major improvement that better aligns TOML lists with python ones: I would suggest to implement this feature ahead of the formal release of the new TOML spec.

@alethiophile
Copy link
Owner

Agree this is a good idea. As best I can tell it should be trivial, just need to take out the explicit checks to forbid it. I'll work on it once I've got a moment.

@miccoli
Copy link
Contributor Author

miccoli commented Jan 8, 2020

Code changes to the python code should be trivial, just a couple of lines to remove. What seems to me more complicated is adapting the unit tests to the new spec.

@alethiophile
Copy link
Owner

Now implemented in v0.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants