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

Mypybot/sync typeshed #14733

Merged
merged 4 commits into from Feb 18, 2023
Merged

Conversation

koogoro
Copy link
Collaborator

@koogoro koogoro commented Feb 18, 2023

I'm syncing typeshed again to make sure python/typeshed#9746 gets into the 1.1 release.

koogoro and others added 4 commits February 17, 2023 16:22
This is allegedly causing large performance problems, see 13821

typeshed/8231 had zero hits on mypy_primer, so it's not the worst thing
to undo. Patching this in typeshed also feels weird, since there's a
more general soundness issue. If a typevar has a bound or constraint, we
might not want to solve it to a Literal.

If we can confirm the performance regression or fix the unsoundness
within mypy, I might pursue upstreaming this in typeshed.

(Reminder: add this to the sync_typeshed script once merged)
Since the plugin provides superior type checking:
python#13987 (comment)
@github-actions
Copy link
Contributor

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

@hauntsaninja
Copy link
Collaborator

Note you can trigger the workflow in the Github UI using https://github.com/python/mypy/actions/workflows/sync_typeshed.yml

@hauntsaninja hauntsaninja merged commit 8a487ff into python:master Feb 18, 2023
@koogoro koogoro deleted the mypybot/sync-typeshed branch February 18, 2023 02:34
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.

None yet

2 participants