Skip to content

[mypyc] Add LoadAddress op for PyFloat_Type & PyTuple_Type - #13078

Merged
JelleZijlstra merged 2 commits into
python:masterfrom
ichard26:add-float-and-tuple-load-address-ops
Jul 12, 2022
Merged

JelleZijlstra merged 2 commits into
python:masterfrom
ichard26:add-float-and-tuple-load-address-ops

Conversation

@ichard26

@ichard26 ichard26 commented Jul 6, 2022 •

Copy link
Copy Markdown
Collaborator

Description

This is a follow-up of commit 7811f08.

Test Plan

I took all of the downgraded / failing examples in the linked issues and rewrote them as run tests.

@ichard26
ichard26 force-pushed the add-float-and-tuple-load-address-ops branch from 88ecffb to 0406c4c Compare July 6, 2022 15:13
Comment thread mypyc/test-data/run-tuples.test Outdated
'python_path': tuple,
'type': ClassIR,
'method': FuncIR,
'shadow_method': type,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Turning Optional[List] into type isn't great, but that's something to address later.

@JelleZijlstra
JelleZijlstra merged commit 64a40e8 into python:master Jul 12, 2022
@ichard26
ichard26 deleted the add-float-and-tuple-load-address-ops branch July 12, 2022 19:52
hauntsaninja pushed a commit to hauntsaninja/mypy that referenced this pull request Jul 16, 2022
ilevkivskyi pushed a commit that referenced this pull request 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 pull request 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 this pull request may close these issues.

KeyError on import with dataclasses with variable length Tuple Dataclasses with float values error mypyc doesn't like some class-like NamedTuples

2 participants