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

Use new tuples #13487

Merged
merged 5 commits into from
Aug 23, 2022
Merged

Use new tuples #13487

merged 5 commits into from
Aug 23, 2022

Conversation

sobolevn
Copy link
Member

I've just noticed it in a couple of places :)

@AlexWaygood
Copy link
Member

I had to special-case testinfer.py in #13427 -- take a look at commit (3) in that PR. There's a method called tuple() in that file, which causes a name collision if you try to use lowercase tuple as an annotation :(

tox.ini Outdated
@@ -56,7 +56,6 @@ commands =
description = type check ourselves
commands =
python -m mypy --config-file mypy_self_check.ini -p mypy -p mypyc
python -m mypy --config-file mypy_self_check.ini scripts
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean to do this as part of this PR? Looks like it maybe should have been done as part of #13286? :)

@github-actions

This comment has been minimized.

3 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

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

@sobolevn sobolevn merged commit d6feadf into python:master Aug 23, 2022
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.

2 participants