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

Fix mypyc regression with pretty #16124

Merged
merged 1 commit into from
Sep 17, 2023
Merged

Conversation

hauntsaninja
Copy link
Collaborator

Fixes #15877

Regression was introduced by #15070. Previously Errors objects created in mypyc build would just use all the default values, now they use the actual options object involved

Fixes python#15877

Regression was introduced by python#15070. Previously Errors objects created
in mypyc build would just use all the default values, now they use the
actual options object involved
@github-actions
Copy link
Contributor

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

porcupine (https://github.com/Akuli/porcupine): typechecking got 1.41x slower (24.4s -> 34.4s)
(Performance measurements are based on a single noisy sample)

@mr-c
Copy link
Contributor

mr-c commented Sep 16, 2023

I can confirm that this fixes #15877 for me, thanks!

@mr-c mr-c mentioned this pull request Sep 16, 2023
@ilevkivskyi ilevkivskyi merged commit c99b936 into python:master Sep 17, 2023
17 checks passed
@hauntsaninja hauntsaninja deleted the mypyc-pretty branch September 17, 2023 16:47
JukkaL pushed a commit that referenced this pull request Oct 10, 2023
Fixes #15877

Regression was introduced by #15070. Previously Errors objects created
in mypyc build would just use all the default values, now they use the
actual options object involved
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.

pyproject.toml requires mypy 1.4.0-1.5.0 + mypycify in setup.py: failure (AssertionError)
3 participants