da4d0d106d1849a2d745cf89977cd587b107ae68,src/python/pants/engine/isolated_process.py,ProcessExecutionNode,step,#ProcessExecutionNode#Any#,167

Before Change


      State.raise_unrecognized(binary_state)

    // Create the request from the request callback after resolving its input clauses.
    input_select_nodes = [step_context.select_node(s, self.subject, self.variants)
                          for s in self.snapshotted_process.input_selectors]

    input_values = []
    for input_selector, input_select_node in zip(self.snapshotted_process.input_selectors, input_select_nodes):
      sn_state = step_context.get(input_select_node)

After Change


    // Create the request from the request callback after resolving its input clauses.
    input_values = []
    for input_selector in self.snapshotted_process.input_selectors:
      sn_state = step_context.select_for(input_selector, self.subject, self.variants)
      if type(sn_state) is Waiting:
        waiting_nodes.extend(sn_state.dependencies)
      elif type(sn_state) is Return:
        input_values.append(sn_state.value)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: da4d0d106d1849a2d745cf89977cd587b107ae68
Time: 2016-09-27
Author: nhoward@twopensource.com
File Name: src/python/pants/engine/isolated_process.py
Class Name: ProcessExecutionNode
Method Name: step


Project Name: pantsbuild/pants
Commit Name: da4d0d106d1849a2d745cf89977cd587b107ae68
Time: 2016-09-27
Author: nhoward@twopensource.com
File Name: src/python/pants/engine/nodes.py
Class Name: ProjectionNode
Method Name: step


Project Name: pantsbuild/pants
Commit Name: da4d0d106d1849a2d745cf89977cd587b107ae68
Time: 2016-09-27
Author: nhoward@twopensource.com
File Name: src/python/pants/engine/nodes.py
Class Name: DependenciesNode
Method Name: step