Skip to content

use ParamSpec for @contextmanager #5476

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 3 commits into from
Jun 14, 2021
Merged

Conversation

JelleZijlstra
Copy link
Member

#4827 doesn't have all boxes checked yet, but I want to see what CI has to say about this.

@JelleZijlstra
Copy link
Member Author

CI says that mypy needs more work to support this.

@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. 🤖🎉

@srittau
Copy link
Collaborator

srittau commented Jun 14, 2021

This is looking promising.

@JelleZijlstra
Copy link
Member Author

Interesting, I thought the mypy errors were blocking errors (preventing it from analyzing the rest of the file), but I suppose not.

@JelleZijlstra JelleZijlstra marked this pull request as ready for review June 14, 2021 14:30
@srittau srittau merged commit 4581501 into python:master Jun 14, 2021
@JelleZijlstra JelleZijlstra deleted the contextman branch June 14, 2021 14:58
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