[Compiler-sig] Update for list.append change

Mark Hammond mhammond@skippinet.com.au
Wed, 15 Mar 2000 13:12:11 +1100


The P2C file "transformer.py" was bitten by the list.append change.

Here is a diff for the version in the CVS tree of the compiler - Bill or
Greg will also need to update P2C itself...

Mark.

RCS file:
/projects/cvsroot/python/nondist/src/Compiler/compiler/transformer.py,v
retrieving revision 1.8
diff -r1.8 transformer.py
572c572
<       results.append(type, self.com_node(nodelist[i]))
---
>       results.append( (type, self.com_node(nodelist[i])) )
839c839
<         clauses.append(expr1, expr2, self.com_node(nodelist[i+2]))
---
>         clauses.append( (expr1, expr2, self.com_node(nodelist[i+2])) )
961c961
<       items.append(self.com_node(nodelist[i]),
self.com_node(nodelist[i+2]))
---
>       items.append( (self.com_node(nodelist[i]),
self.com_node(nodelist[i+2])) )