Skip to content

Sync all async defs in asyncio/tasks.pyi #6783

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

Merged
merged 2 commits into from
Jan 2, 2022
Merged

Sync all async defs in asyncio/tasks.pyi #6783

merged 2 commits into from
Jan 2, 2022

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jan 2, 2022

Refs #6779

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2022

Diff from mypy_primer, showing the effect of this PR on open source code:

psycopg (https://github.com/psycopg/psycopg)
+ psycopg_pool/psycopg_pool/pool_async.py:243: error: Incompatible types in assignment (expression has type "Coroutine[Any, Any, List[Any]]", variable has type "Future[List[Any]]")  [assignment]

@sobolevn
Copy link
Member Author

sobolevn commented Jan 2, 2022

I've tried to address the only failure in psycopg, I hope everything else is fine!

@srittau srittau merged commit bbd8c77 into python:master Jan 2, 2022
dvarrazzo pushed a commit to sobolevn/psycopg that referenced this pull request Jan 2, 2022
Will become an incompatible type in assignment with the release of
python/typeshed#6783
dvarrazzo pushed a commit to psycopg/psycopg that referenced this pull request Jan 2, 2022
Will become an incompatible type in assignment with the release of
python/typeshed#6783
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