Skip to content

[mypyc] Support __(r)divmod__ dunders#14613

Merged
msullivan merged 1 commit intopython:masterfrom
ichard26:support-divmod-dunder
Feb 5, 2023
Merged

[mypyc] Support __(r)divmod__ dunders#14613
msullivan merged 1 commit intopython:masterfrom
ichard26:support-divmod-dunder

Conversation

@ichard26
Copy link
Copy Markdown
Collaborator

@ichard26 ichard26 commented Feb 4, 2023

Pretty simple. Towards mypyc/mypyc#553.

b = r4
return 1

[case testFunctionBasedOps]
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Once this is merged, I'll submit a PR for __pow__ and co. which depends on this patch.

@ichard26 ichard26 changed the title [mypyc] Support __(r)divmod__ dunder [mypyc] Support __(r)divmod__ dunders Feb 4, 2023
Copy link
Copy Markdown
Collaborator

@msullivan msullivan left a comment

Choose a reason for hiding this comment

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

Thanks!

@msullivan msullivan merged commit b64bd3d into python:master Feb 5, 2023
@ichard26 ichard26 deleted the support-divmod-dunder branch February 5, 2023 18:07
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