[Compiler-sig] Update for list.append change

Greg Stein gstein@lyra.org
Thu, 16 Mar 2000 04:17:30 -0800 (PST)


Fixed and checked in. Thanx!

-g

On Wed, 15 Mar 2000, Mark Hammond wrote:

> 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])) )
> 
> 
> _______________________________________________
> Compiler-sig mailing list
> Compiler-sig@python.org
> http://www.python.org/mailman/listinfo/compiler-sig
> 

-- 
Greg Stein, http://www.lyra.org/