GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-142956: Update `tomllib` to parse TOML 1.1.0 by hukkin · Pull Request #144243 · python/cpython

Conversation

@hukkin

@hukkin hukkin commented Jan 26, 2026 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

As per this 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.

  • Issue: TOML 1.1 #142956

📚 Documentation preview 📚: https://cpython-previews--144243.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
hukkin added 7 commits January 25, 2026 21:09
@hukkin
tomllib: Add shorthand for escape character (TOML 1.1)
f8275d4
@hukkin
tomllib: Allow newlines and trailing comma in inline tables (TOML 1.1)
2342380
@hukkin
tomllib: Add \xHH Unicode escape code to basic strings (TOML 1.1)
880092f
@hukkin
tomllib: Make seconds optional in Date-Time and Time (TOML 1.1)
2199c58
@hukkin
tomllib: Sync with Tomli to reduce diff
329e049
@hukkin
Add NEWS
b586d43
@hukkin
Update docs
9ede2aa
@hukkin
hukkin requested review from encukou and hauntsaninja as code owners January 26, 2026 11:14
@python-cla-bot

python-cla-bot Bot commented Jan 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added the awaiting review label Jan 26, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Jan 26, 2026
TOML 1.1 #142956
Closed
@hukkin
Add new test data folder to Makefile's list
3ccb26f
@hukkin
hukkin requested review from AA-Turner, emmatyping and erlend-aasland as code owners January 26, 2026 11:30
encukou
encukou approved these changes Jan 26, 2026
View reviewed changes

@encukou encukou left a comment

Copy link
Copy Markdown
Member

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Jan 26, 2026
StanFromIreland
StanFromIreland approved these changes Jan 26, 2026
View reviewed changes
hauntsaninja
hauntsaninja approved these changes Jan 26, 2026
View reviewed changes
vstinner
vstinner reviewed Jan 27, 2026
View reviewed changes
Comment thread Doc/library/tomllib.rst Outdated
support writing TOML.

.. versionchanged:: next
Module updated to support TOML 1.1.0. Initially the module supported TOML 1.0.0.

@vstinner vstinner Jan 27, 2026

Copy link
Copy Markdown
Member

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@encukou encukou Jan 27, 2026

Copy link
Copy Markdown
Member

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 from TOML 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.)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@encukou encukou mentioned this pull request Jan 30, 2026
TOML 1.1.0: Add What's New entry with the changes hukkin/cpython#41
Merged
@encukou

encukou commented Jan 30, 2026

Copy link
Copy Markdown
Member

I've proposed a What's New entry as a PR to your branch: hukkin#41

hukkin reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

encukou and others added 2 commits January 30, 2026 20:52
@encukou @hukkin
Add What's New entry with the changes
576e495
@encukou @hukkin @StanFromIreland
Apply suggestions from code review
127645f
Co-authored-by: Taneli Hukkinen <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
@encukou
encukou merged commit bb917d8 into python:main Feb 3, 2026
94 of 96 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Feb 3, 2026
Aniketsy pushed a commit to Aniketsy/cpython that referenced this pull request Feb 3, 2026
@hukkin @encukou
@StanFromIreland @Aniketsy
pythongh-142956: Update tomllib to parse TOML 1.1.0 (python#144243)
cc363d5
Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
@hukkin
hukkin deleted the toml-1.1 branch February 3, 2026 19:31
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
@hukkin @encukou
@StanFromIreland @thunder-coding
pythongh-142956: Update tomllib to parse TOML 1.1.0 (python#144243)
ddd4ca2
Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vstinner vstinner vstinner left review comments
@encukou encukou encukou approved these changes
@hauntsaninja hauntsaninja hauntsaninja approved these changes
@StanFromIreland StanFromIreland StanFromIreland approved these changes
@erlend-aasland erlend-aasland Awaiting requested review from erlend-aasland erlend-aasland is a code owner
@AA-Turner AA-Turner Awaiting requested review from AA-Turner AA-Turner is a code owner
@emmatyping emmatyping Awaiting requested review from emmatyping emmatyping is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@hukkin @encukou @vstinner @hauntsaninja @StanFromIreland
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.