Skip to content

Conversation

@iritkatriel
Copy link
Member

@iritkatrieliritkatriel commented Jul 21, 2022

This further decouples the compiler struct from parts of the compilation process, and in particular enables CFG construction without a compiler (which is useful for unit tests).

@iritkatrieliritkatriel added skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Jul 21, 2022
@iritkatrieliritkatriel added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 21, 2022
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit 4bbebf8 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 21, 2022
Copy link
Member

@markshannonmarkshannon left a comment

Choose a reason for hiding this comment

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

One question

@iritkatrieliritkatriel changed the title gh-93678: extract 'struct cfg' from the compiler so that the CFG can be manipulated directlygh-93678: extract 'struct cfg_builder' from the compiler so that the CFG can be manipulated directlyJul 26, 2022
@iritkatriel
Copy link
MemberAuthor

@markshannon Any more comments on this?

Copy link
Member

@markshannonmarkshannon left a comment

Choose a reason for hiding this comment

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

FTR, I'd prefer we pass locations by value, but no need to do that for this PR.

@iritkatriel
Copy link
MemberAuthor

FTR, I'd prefer we pass locations by value, but no need to do that for this PR.

Sure, might as well do it here.

@iritkatrieliritkatriel merged commit 75c0c1b into python:mainJul 26, 2022
@iritkatrieliritkatriel deleted the cfg_struct branch July 26, 2022 13:36
@iritkatrieliritkatriel changed the title gh-93678: extract 'struct cfg_builder' from the compiler so that the CFG can be manipulated directlygh-95335: extract 'struct cfg_builder' from the compiler so that the CFG can be manipulated directlyJul 27, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@iritkatriel@bedevere-bot@markshannon