X Tutup
The Wayback Machine - https://web.archive.org/web/20230130171320/https://github.com/python/cpython/pull/101399
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

GH-101369: Allow macros as family members #101399

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

gvanrossum
Copy link
Member

Fixes gh-101369.

@markshannon: You have to use macro here:

macro(BINARY_OP_ADD_FLOAT) = _BINARY_OP_ADD_FLOAT_CHECK + _BINARY_OP_ADD_FLOAT_ACTION;

Copy link
Member

@iritkatriel iritkatriel left a comment

Choose a reason for hiding this comment

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

LGTM

@gvanrossum
Copy link
Member Author

Thanks, I have a few updates in the pipeline. Will add those later.

@gvanrossum
Copy link
Member Author

This is all I was planning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bytecode interpreter generator should support composing instructions from parts.
3 participants
X Tutup