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

Add type hints for tomllib #7432

Merged
merged 2 commits into from
Mar 3, 2022
Merged

Add type hints for tomllib #7432

merged 2 commits into from
Mar 3, 2022

Conversation

hukkin
Copy link
Contributor

@hukkin hukkin commented Mar 3, 2022

The tomllib module will be added in Python 3.11 (but not yet merged to CPython, see python/cpython#31498). Here's the type hints already.

@AlexWaygood
Copy link
Member

AlexWaygood commented Mar 3, 2022

You'll want to add tomllib to https://github.com/python/typeshed/blob/master/stdlib/VERSIONS to get the CI passing (congrats on the PEP acceptance btw!)

@github-actions

This comment has been minimized.

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good (once the VERSIONS change is in)!

@hukkin
Copy link
Contributor Author

hukkin commented Mar 3, 2022

Great, thanks! Updated VERSIONS

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2022

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit 31b11c6 into python:master Mar 3, 2022
@hukkin hukkin deleted the tomllib branch March 3, 2022 23:05
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

Successfully merging this pull request may close these issues.

4 participants