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 _typeshed.Incomplete #7535

Merged
merged 3 commits into from
Mar 25, 2022
Merged

Add _typeshed.Incomplete #7535

merged 3 commits into from
Mar 25, 2022

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Mar 22, 2022

Closes: #5613

@github-actions

This comment has been minimized.

@srittau
Copy link
Collaborator Author

srittau commented Mar 22, 2022

I have not idea why mypy "Cannot determine type of "Any"". This error also exist when not using TypeAlias. This seems incredibly weird to me.

@github-actions

This comment has been minimized.

@srittau srittau closed this Mar 22, 2022
@srittau srittau reopened this Mar 22, 2022
@AlexWaygood
Copy link
Member

I have not idea why mypy "Cannot determine type of "Any"". This error also exist when not using TypeAlias. This seems incredibly weird to me.

@sobolevn figured out a fix for this mypy bug in python/mypy#12134, but it hasn't been merged yet

@github-actions

This comment has been minimized.

@srittau srittau closed this Mar 24, 2022
@srittau srittau reopened this Mar 24, 2022
@github-actions
Copy link
Contributor

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

@srittau srittau marked this pull request as ready for review March 24, 2022 17:59
@srittau srittau merged commit 9a76b13 into python:master Mar 25, 2022
@srittau srittau deleted the incomplete branch March 25, 2022 09:18
srittau added a commit to srittau/mypy that referenced this pull request Mar 25, 2022
Since python/typeshed#7535, typeshed has a new type `_typeshed.Incomplete`,
intended to mark fields that are partly annotated, but need more manual
investigation. This applies to all types generated by stubgen, except
when explicitly annotated with `Any` in the implementation.
JelleZijlstra pushed a commit to python/mypy that referenced this pull request Mar 25, 2022
Since python/typeshed#7535, typeshed has a new type `_typeshed.Incomplete`,
intended to mark fields that are partly annotated, but need more manual
investigation. This applies to all types generated by stubgen, except
when explicitly annotated with `Any` in the implementation.
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.

Idea: "Incomplete" marker
2 participants