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

Make the TOML loaded to use tomllib with Python ≥3.11 by default #25

Open
frank-lenormand opened this issue May 13, 2024 · 0 comments

Comments

@frank-lenormand
Copy link
Contributor

The toml library used by confight still doesn’t fully comply with the TOML v1.0.0 specification, and seems abandoned.

Example of problematic shortcoming (several years old) that still isn’t fixed:

Python v3.11 has introduced a library for TOML parsing (read-only): tomllib.

It’s not clear if using tomllib over toml would be a net benefit (trading a set of bugs for another is not ideal).

There’s a good chance that using tomllib by default when Python ≥3.11 is used as an interpreter will be beneficial if not now, at least long-term.

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

1 participant