Skip to content

Fix recursive type alias crash in make_simplified_union#15216

Merged
hauntsaninja merged 1 commit into
python:masterfrom
ilevkivskyi:fix-crash
May 10, 2023
Merged

Fix recursive type alias crash in make_simplified_union#15216
hauntsaninja merged 1 commit into
python:masterfrom
ilevkivskyi:fix-crash

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

This is a recent regression

@github-actions

Copy link
Copy Markdown
Contributor

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

vision (https://github.com/pytorch/vision) got 1.38x slower (39.6s -> 54.5s)

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@hauntsaninja
hauntsaninja merged commit fe7007f into python:master May 10, 2023
@ilevkivskyi
ilevkivskyi deleted the fix-crash branch May 10, 2023 19:29
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