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

mypyc doesn't like some class-like NamedTuples #924

Closed
hauntsaninja opened this issue May 1, 2022 · 1 comment · Fixed by python/mypy#13078
Closed

mypyc doesn't like some class-like NamedTuples #924

hauntsaninja opened this issue May 1, 2022 · 1 comment · Fixed by python/mypy#13078

Comments

@hauntsaninja
Copy link
Collaborator

hauntsaninja commented May 1, 2022

For example, we get failures if we try upgrading

Also ref python/mypy#12708

Error manifests as a KeyError for the type of some field in the NamedTuple, but I also got segfaults when upgrading NamedTuples in mypyc itself

ichard26 added a commit to ichard26/mypy that referenced this issue Jul 6, 2022
ichard26 added a commit to ichard26/mypy that referenced this issue Jul 6, 2022
ichard26 added a commit to ichard26/mypy that referenced this issue Jul 6, 2022
JelleZijlstra pushed a commit to python/mypy that referenced this issue Jul 12, 2022
@JelleZijlstra
Copy link
Collaborator

Fixed by python/mypy#13078

hauntsaninja pushed a commit to hauntsaninja/mypy that referenced this issue Jul 16, 2022
ilevkivskyi pushed a commit to python/mypy that referenced this issue Jul 16, 2022
…13150)

- Fixes mypyc/mypyc#924
- Fixes mypyc/mypyc#926
- Fixes mypyc/mypyc#935

This is a follow-up of commit 7811f08.

Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
Gobot1234 pushed a commit to Gobot1234/mypy that referenced this issue Aug 12, 2022
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 a pull request may close this issue.

2 participants