Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
gh-142956: Updatetomllib to parse TOML 1.1.0#144243
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
python-cla-botbot commentedJan 26, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
encukou left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you! The changes are rather small, and match the spec updates as far as I can see; the cosmetic changes are indeed cosmetic.
I'll merge ~Friday is there are no objections, to give others a chance to review
| support writing TOML. | ||
| ..versionchanged::next | ||
| Module updated to support TOML 1.1.0. Initially the module supported TOML 1.0.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Would it be possible to elaborate changes between TOML 1.0 and TOML 1.1? Maybe just give some examples.
I suggest to document this change in What's New in Python 3.15.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
That's a good point. I suggest:
- Copying the first four points fromTOML changelog to What's New (with attribution link)
- Linking to the What's New entry from here. (In the long term, a changelog will be increasingly distracting.)
Uh oh!
There was an error while loading.Please reload this page.
As perthis discussion, this includes a commit that syncs cosmetic changes with Tomli (to reduce diff and make maintenance easier), so this is probably best reviewed by commit.
📚 Documentation preview 📚:https://cpython-previews--144243.org.readthedocs.build/