Skip to content

typing comment changes - #6558

Merged
hauntsaninja merged 2 commits into
masterfrom
JelleZijlstra-patch-2
Dec 10, 2021
Merged

hauntsaninja merged 2 commits into
masterfrom
JelleZijlstra-patch-2

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

No description provided.

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

re: Needed by aliases like DefaultDict, see mypy issue 2986, is that no longer true? (I get that we incidentally import collections for NamedTuple, but might still be worth flagging in a comment)

@github-actions

This comment has been minimized.

@JelleZijlstra

Copy link
Copy Markdown
Member Author

re: Needed by aliases like DefaultDict, see mypy issue 2986, is that no longer true? (I get that we incidentally import collections for NamedTuple, but might still be worth flagging in a comment)

We also need it for a few other things, but I think you're right and the comment is still useful. python/mypy#2986 and #1456 for reference.

Comment thread stdlib/typing.pyi Outdated
@github-actions

Copy link
Copy Markdown
Contributor

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

@hauntsaninja
hauntsaninja merged commit 7d4d589 into master Dec 10, 2021
@hauntsaninja
hauntsaninja deleted the JelleZijlstra-patch-2 branch December 10, 2021 05:15
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