Skip to content

bpo-34673: Tweaks to make ceval more editable. #9289

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

Merged
merged 1 commit into from
Sep 17, 2018

Conversation

benjaminp
Copy link
Contributor

@benjaminp benjaminp commented Sep 14, 2018

Two major changes:

  • Move case statements out of the TARGET macro.
  • Move PREDICTED macro invocations after the case label.

https://bugs.python.org/issue34673

Two major changes:
- Move case statements out of the TARGET macro.
- Move PREDICT macro invocations after the case label.
@benjaminp benjaminp force-pushed the benjamin-eval-loop-edit branch from 786d7aa to a82218d Compare September 14, 2018 04:19
@nascheme
Copy link
Member

I support the idea of this patch. It is only slightly more verbose and makes it more clear what is going on. Having editors understand the code structure is also good.

@benjaminp benjaminp merged commit ddd1949 into master Sep 17, 2018
@benjaminp benjaminp deleted the benjamin-eval-loop-edit branch September 17, 2018 05:38
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.

4 participants