-
Notifications
You must be signed in to change notification settings - Fork 46
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
Using TypedDict in function triggers AssertionError during compilation #869
Labels
bug
crash
Failing compile-time asserts, unhandled exceptions, or generated C code that's blowing up.
priority-0-high
Comments
Hello, I can confirm this error is still present on
Here is the full traceback:
I have also noted that wrapping the
|
97littleleaf11
added
crash
Failing compile-time asserts, unhandled exceptions, or generated C code that's blowing up.
priority-0-high
labels
Feb 23, 2022
JukkaL
pushed a commit
to python/mypy
that referenced
this issue
Mar 20, 2023
An optimization to make iterating over dict.keys(), dict.values() and dict.items() faster caused mypyc to crash while compiling a TypedDict. This commit fixes `Builder.get_dict_base_type` to properly handle `TypedDictType`. Fixes mypyc/mypyc#869.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
crash
Failing compile-time asserts, unhandled exceptions, or generated C code that's blowing up.
priority-0-high
with mypy 0.900 and python 3.9
The text was updated successfully, but these errors were encountered: