◐ Shell
clean mode source ↗

Use tomllib on Python 3.11 by hauntsaninja · Pull Request #12305 · python/mypy

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

hauntsaninja added 2 commits

March 8, 2022 00:31

@github-actions

This comment has been minimized.

1 similar comment

@github-actions

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

JelleZijlstra

"""
metadata_fnam = os.path.join(stub_dir, 'METADATA.toml')
if os.path.isfile(metadata_fnam):
# Delay import for a possible minor performance win.

Choose a reason for hiding this comment

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

Fine to remove it since configparser.py already unconditionally imports tomllib anyway.

JelleZijlstra

cdce8p pushed a commit to cdce8p/mypy that referenced this pull request

Mar 10, 2022

This was referenced

May 23, 2022

2 participants

@hauntsaninja @JelleZijlstra